Download a site using SFTP

To download all content of a web site using SFTP, use

You may encounter lftp Fatal error: Host key verification failed error if you have connected to this SFTP server before. In such case, just login to sevrer using SSH, this will add the key to your known_hosts file.

In this example, i am downloading all files from SFTP server. I used . for remote path as i need everything on FTP home folder downloaded.

SFTP download lftp

See lftp

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *