command-linesshterminaldownload

Download file while in ssh mode?


I use to navigate my remote servers with ssh. Sometimes i would like to download a file to open in my computer.

But the only way i know how to do it is to open a new command line window and use scp from local to remote.

is there a way to do this directly from the ssh server?

like a command that know my current ip so can set up everything automatically?

(wonderful would also be to do the upload in such a way...)


Solution

  • I found this while trying to answer your question for myself:

    https://askubuntu.com/a/13586/137980

    Just install zssh and use Ctrl-@ to go into file transfer mode.