I was wondering whether there's a way to copy files from remote server to localhost after i had already "ssh"ed into the remote host? i.e. after ssh: "scp file @local:~" (I know about scp user@remote:~/ . It's not what i'm looking for)
1 Answer
In recent versions of ssh, you can reuse a connection. See How To Reuse SSH Connection To Speed Up Remote Login Process.
-
Just stepped by accidently; pretty cool things. Didn't know that! +1– PhilCommented Jan 25, 2013 at 10:58
-
Really nice feature, but how is this answering the question? Commented Nov 13, 2015 at 10:15