NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

[ Enhancement] Option to use SSH agent

Open martin-rueegg opened this issue 8 years ago • 13 comments

Instead of entering the private key file, it would be fantastic to use an SSH Agent.

martin-rueegg avatar Sep 28 '16 08:09 martin-rueegg

Actually, I don't work with Windows nowadays ... so not much use for NppFTP :frowning:

ashkulz avatar Sep 28 '16 14:09 ashkulz

I don't work with Windows nowadays ... so not much use for NppFTP

Are you no longer interesting in continuing development of NppFTP?

imcdona avatar Oct 11 '16 21:10 imcdona

If you (or someone else) wants to step up to continue development, I'd welcome it 😀

ashkulz avatar Oct 12 '16 03:10 ashkulz

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.

martin-rueegg avatar Oct 12 '16 16:10 martin-rueegg

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.

chcg avatar Apr 20 '17 15:04 chcg

+1. I would be interested in pageant.

jirikraus avatar Feb 07 '18 15:02 jirikraus

I'd also love to be able to use pageant!

Clem- avatar Jul 09 '18 09:07 Clem-

Need it!

borikinternet avatar Feb 07 '19 11:02 borikinternet

seems ssh_userauth_publickey_auto() should enable it.

Can someone test if this makes Pageant working?

mvorisek avatar Jun 14 '19 16:06 mvorisek

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 avatar Jun 17 '19 11:06 jirikraus

@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

mvorisek avatar Jun 17 '19 13:06 mvorisek

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.

jirikraus avatar Jun 17 '19 13:06 jirikraus

I recently discovered KeeAgent, and I would love to be able to use it with NppFTP.

aka13-404 avatar Jun 23 '22 19:06 aka13-404