NppFTP
NppFTP copied to clipboard
[ Enhancement] Option to use SSH agent
Instead of entering the private key file, it would be fantastic to use an SSH Agent.
Actually, I don't work with Windows nowadays ... so not much use for NppFTP :frowning:
I don't work with Windows nowadays ... so not much use for NppFTP
Are you no longer interesting in continuing development of NppFTP?
If you (or someone else) wants to step up to continue development, I'd welcome it 😀
Unfortunately, I do not have the means or skills to do cpp projects. But would be happy to work with whom ever takes the lead as a tester/reviewer.
See https://www.libssh2.org/examples/ssh2_agent.html and http://api.libssh.org/master/libssh_tutor_guided_tour.html:
The client must authenticate: the classical ways are password, or public keys (from dsa and rsa key-pairs generated by openssh). If a SSH agent is running, it is possible to use it.
, but needs to be further checked how this could be done in a program, see
http://api.libssh.org/master/libssh_tutor_authentication.html#authentication_details
seems ssh_userauth_publickey_auto() should enable it.
+1. I would be interested in pageant.
I'd also love to be able to use pageant!
Need it!
seems ssh_userauth_publickey_auto() should enable it.
Can someone test if this makes Pageant working?
seems ssh_userauth_publickey_auto() should enable it.
Can someone test if this makes Pageant working?
What needs to be done for this? Does it requires to build NppFTP from source?
@jirikraus Jiří, yes. I am not C developer, but if you or someone else is please test it. Please also see the Pageant reference implementation here: https://stackoverflow.com/questions/12452933/putty-pageant-protocol#13533819
Thanks. Not sure if I find the time to do this as I am neither familiar with the putty pageant API nor the NppFTP source so this seems more involved than just adding a single API call.
I recently discovered KeeAgent, and I would love to be able to use it with NppFTP.