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)
In recent versions of ssh, you can reuse a connection. See How To Reuse SSH Connection To Speed Up Remote Login Process.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago