0
i have been wrecking my head around this for hours but so far have been unsuccessful:
one a mac, i can do the following:
- connect to my server via ssh
- enter private-key passphrase
- passphrase is stored in keychain
- lftp now automatically uses the stored passphrase
on windows, cygwin does not store the passphrase, and lftp does not prompt me for it. so when i enter
lftp -p PORT -e "set ssl:key-file file" -u user,xxx sftp://IP
and do 'ls', i immediately get disconnected. any idea how i can pass along the passphrase/make lftp ask me for it?
thanks :)
(this might work with putty, but i want to use cygwin only)
got it. installing and setting up ssh-agent did the trick. more info here
thanks for the answer. i do indeed have a working home directory, so that is not the problem. everything is working fine, except lftp refuses to prompt me for the passphrase... – foo – 2013-11-14T09:46:35.233