0

This question already has an answer here:

When I'm working on some remote host via SSH, I often need to upload or download files. With my current setup, I need to switch to another terminal and conjure up rsync or sftp, which can be a pain if the target host isn't registered in DNS (need to copy+paste IP address) or if I'm working in a directory a few levels down (need to re-type the whole path).

Is there a command-line tool that combines SSH and SFTP? Ideally, it would start a remote shell like normal SSH does but at the press of some key combination, it would switch to an SFTP prompt allowing me to up- download files from the directory the shell is currently in.

marked as duplicate by Gilles command-line Apr 3 '16 at 21:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

-1

You want rsync. You can transfer files from the local or remote machine.

?> rsync -avz user@host.ip:/path/to/remote/path path/to/local

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