Possible Duplicate:
SSH easily copy file to local system

Let's give the following example:

I've connected to ssh user@myserver.com.
I need to copy a local file over to the remote server, without exiting SSH.

Is this possible? I know I could suspend the process via Ctrl+Z, scp the file, then fg the SSH process back to the foreground, but is there a way to do this from within an active SSH session without leaving it?

merged by Michael Mrozek Dec 2 '11 at 20:37

This question was merged with Copy a file back to local system with ssh because it is an exact duplicate of that question.

Browse other questions tagged or ask your own question.