How can I download a file from a SSH session (without using sftp)

Posted by user34345 on Super User See other posts from Super User or by user34345
Published on 2010-04-15T21:21:18Z Indexed on 2010/04/15 21:23 UTC
Read the original article Hit count: 177

Filed under:
|
|
|

I know I can use sftp user@host ....

But what I want is to download a file from the existing session.

that is.

ssh user@host ... do some work ...

The main problem I have is that said file is under root on the server so doing a sftp command is not that simple.

© Super User or respective owner

Related posts about ssh

Related posts about sftp