Download a File from a Linux Remote Server Using Ssh
I Have Backup All My Website Files to a Zip Folder from Cpanel. Now I Want to Download This Zip Folder to My Local Drive. I Searched on Internet and Found...
I have backup all my website files to a zip folder from cpanel. Now I want to download this zip folder to my local drive. I searched on internet and found command line code scp but its not working for me.
scp :file.zip D:/
I am currently in public_html directory using SSH.
4 Answers
Check this tutorial, it's very well explained
scp command line to securely copy files over ssh, between Linux, Mac or Windows
Examples:
scp *.txt :/home/user/ That is going to copy all files with .txt extension to the folder /home/user in the remote.server.com host
scp -r miguel@10.1.2.2:/home/user/ user@10.1.2.3:/home/user/
It seems like you are using windows, so you should have a look at winscp (), which is a graphical interface for scp.
Try using a SFTP client such as
- Flash FXP - a paid ftp client with great options
- Filezilla Client a free and opensource client