Termbin: Easiest way to copy over SSH
termbin.com
termbin.com
If you want to copy something over ssh, try scp.
Netcat doesn't use SSH, it uses raw TCP pretty much.
There are versions of Netcat which can use SSL/TLS it should still work with this if you download those builds.
That said I can't recommend using a service that uploads your data to some random site, and worse basically tells you to just "download" some data that will be input into your terminal from some random site. This whole thing looks like a social experiment of how many secrets can I get from people who should know better...
The easiest way to copy over SSH is using `scp`.
$ scp (source path) (destination URI):(destination path)
For a stream between systems instead of a file, do it this way:
$ cat localfile | ssh user@host "cat > remotefile"
-- or --
$ ssh user@host "cat > remotefile" < localfile
e.g.
local$ ssh remote
remote$ # do some stuff
remote$ echo "Text" > file.txt
remote$ # oh, I need to copy file.txt back to my local host
remote$ #?If by "not externally accessible" you mean the local machine is not running an SSH server, but has an SSH client available and the machine is connected to the network, and the remote machine is running an SSH server, then:
$ scp remoteuser@remotehost:remotepath/remotefile localfile
Also, alternatively... pipe it to `mail` and send it over email.
local$ scp user@remote:/path/to/file.txt local_file.txt
If your local machine is not externally accessible, you have to initiate the access on it. local$ scp remote:~/file.txt ./[1] https://gist.github.com/schmich/f2ef5c85030863d630a97ec91c1b...
Seems to capture stderr:
iMac ~ >&2 echo "error" | nc termbin.com 9999
error
http://termbin.com/6tlc