Using SFTP Commands for Secure File Transfer

If you wish to use the terminal to transfer files between servers, you can use either the lftp or sftp command line programs.

$ lftp s -e 'set sftp:connect-program "ssh -o PubkeyAuthentication=false"'
$ sftp -o PubkeyAuthentication=false

For more information about lftp and sftp, please see their respective manuals by running man lftp or man ssh from your terminal.

When you connect to any Pressable site over SFTP, you will be dropped into the site root immediately.

However, if you must specify a path to the site root – for example, when using command line programs like lftp – the path to the site root is: /htdocs