I have a digital ocean droplet. I am able to connect to it using SSH and see the file list in the terminal. There is a folder in the droplet which I would like to download to my PC. How can I do that using a Ubuntu Linux terminal? Or should I use some FTP software to do that in Linux?
Asked
Active
Viewed 5,910 times
1 Answers
2
By default the open-sshserver comes with enabled SFTP feature, so you can use it as it is described here: Filezilla or WinSCP alternative for Ubuntu.
For a single file or directory (also with recursion) either scp or rsync are appropriate. For better performance I would use rsync in a way as this:
rsync -av user@host:/remote/path/to/<file or directory> /local/path/<to be placed>
In the topic mentioned above, I'm describing also how to setup and use the ~/.ssh/config file. Because you are new to linux, if you are not familiar with that, IMO, this part will be useful for you.
pizzaisdavid
- 103
pa4080
- 30,621