Setting Up LFTP for SFTP Key-Based Authentication
If you’ve set up passwordless SSH login with key-based authentication but lftp keeps prompting for a password, you need to explicitly configure it to use your SSH keys. The basic approach The simplest method is to pass an empty password to lftp, which signals it to fall back on SSH key authentication: lftp -u user,…
