lftp with key + passphrase

Viewed 38419

I'm using lftp to send files to an SFTP server, but I don't how to connect with key and passphrase.

So in sftp, I can do this:

sftp -i .ssh/id_rsa.mykey login@my.host.fr
Enter passphrase for key '.ssh/id_rsa.mykey': my passphrase here

So, how can I use lftp with this connection method?

4 Answers
Related