How do I SFTP into my site with LFTP or SFTP commands?

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

The LFTP Command

$ lftp sftp://USERNAME@sftp.pressable.com -e 'set sftp:connect-program "ssh -o PubkeyAuthentication=false"'

The SFTP Command

$ sftp -o PubkeyAuthentication=false USERNAME@sftp.pressable.com

Guidance

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

Try Pressable for 30 days, worry-free.

We promise you'll be imPressed with us or your money back.

See Plans