Open mehmooda opened 7 years ago
Seems to depend on https://red.libssh.org/issues/165, which is not worked on in the past 2 years.
Maybe http://api.libssh.org/master/group__libssh__auth.html#ga7d84f3f89f65455b80b10e2643d80719 ssh_userauth_agent() could be used therefore , see also http://smartcard-auth.de/ssh-en.html
, see also #104, which would be a similar request then.
I would also be interested in authentication via pageant. Currently NppFTP is the only program I use where I need to care for Keys/Passwords. authentication via pageant would be far more convenient.
I join the list of requesters. I am unfortunately forced to used Windows on my work computer, and NppFTP is the only reason I have not yet gone insane. Adding pageant support would be extremely convenient.
Agree this would be awesome!
I'm too! Need it!
Open issue moved to new bugtracking: https://bugs.libssh.org/T27 , but still no code change.
Would it be possible to implement like this: https://stackoverflow.com/questions/12452933/putty-pageant-protocol ?
I won't implement the agent support standalone apart from libssh, but if someone want to provide a PR for this I will consider to approve it.
Looks like the issue moved again or is at least duplicated now on GitLab.
It seems in March of 2020, https://bugs.libssh.org/T27#3704, DDoSolitary stuck a patch up for it (against 0.9.3). Still no mainline support, though.
I will say, with Windows not only shipping their own OpenSSH port, but actually going back and supporting features like unix sockets, I'm betting it's only a matter of time.
I also think that supporting a ssh key stored in pageant (if possible) would be a useful feature, if someone has the skills and libraries for this
I am unable to use my ssh server as it only supports access via public key authentication. The private key is on a smart card and pageant supports reading it from the smart card.