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 1


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
    – Phil
    Jan 25, 2013 at 10:58
  • Really nice feature, but how is this answering the question? Nov 13, 2015 at 10:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.