lavv17 / lftp

sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
http://lftp.yar.ru
GNU General Public License v3.0
1.08k stars 159 forks source link

sftp:connect-program not working for passphrase protected keys #715

Open rpgdev opened 8 months ago

rpgdev commented 8 months ago

lftp is not asking me for my passphrase protected key. It used to work back in the day but right now it keeps asking me for the ftp password instead, if I try to bypass it it just never connects to the destination.

I set this line in the ~/.config/lftp/rc file (every alias there is loaded as well as the lftp prompt style). set sftp:connect-program "ssh -a -x -i /home/user/.ssh/id_ed25519"

Am I doing something wrong? Is there anything else I'm missing?