3 ms·
Interesting to see the various approaches. I've been using a pair of simple scripts myself for ages: https://github.com/pflanze/chj-bin/blob/master/netoffer ht
by pflanze 9y ago
Interesting to see the various approaches. I've been using a pair of simple scripts myself for ages:
https://github.com/pflanze/chj-bin/blob/master/netoffer https://github.com/pflanze/chj-bin/blob/master/netoffer
https://github.com/pflanze/chj-bin/blob/master/netfetch https://github.com/pflanze/chj-bin/blob/master/netfetch
(they use a few other scripts from the same repo) used like follows (only practical when being able to copy-paste, my use case is to copy things between servers without needing ssh authentication between them, but having open ssh sessions into both from the same desktop/laptop):
chris@a:/tmp/chris$ echo Hello > World
chris@a:/tmp/chris$ netoffer World
--Run:--
echo jxqtrb7xfq2e4dqy3uitc7986ydj56w59iqu84b | netfetch 78.47.51.206 15123
chris@b:/tmp/chris$ echo jxqtrb7xfq2e4dqy3uitc7986ydj56w59iqu84b | netfetch 78.47.51.206 15123
chris@b:/tmp/chris$ cat World
Hello
(Uses gpg symmetric encryption underneath.)