Is there any way to download a file on an existing SSH session?

I know we can use scp but how come there is no command to download / upload a file while you are on a ssh session?

e.g

server(myuser) > download remote-file-location local-file-location
link|improve this question

25% accept rate
scp can push as well as pull (assuming the other host has ssh also) so you can just scp the file in the other direction. – Sirex Jun 13 '11 at 11:42
feedback

1 Answer

If your SSH client supports zmodem (e.g. Kitty), you can use sz filename.

Otherwise you can play with uuencode, cat, SSH logging and uudecode.

link|improve this answer
My ssh client or my ssh server machine? I'm using the built in open-ssh client @ linux – Fisher Jun 13 '11 at 12:37
@Fisher: Client. As far as I know, the Linux client doesn't support zmodem. – RedGrittyBrick Jun 13 '11 at 14:27
feedback

Your Answer

 
or
required, but never shown

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