Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)

share|improve this question
up vote 2 down vote accepted

In recent versions of ssh, you can reuse a connection. See How To Reuse SSH Connection To Speed Up Remote Login Process.

share|improve this answer
Just stepped by accidently; pretty cool things. Didn't know that! +1 – Phil Jan 25 '13 at 10:58
Really nice feature, but how is this answering the question? – Ferran Basora Nov 13 '15 at 10:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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