Closed ghost closed 2 years ago
OK, looks like I have some idea - looks like putty takes the username from the corporate e-mail I am using for login. So, not sure how/if this can be fixed, but I can help with testing debug builds or troubleshooting if you are willing to fix this. Thanks!
Looks like Pageant is getting the username in NameUserPrincipal
format and SK SSH Agent is getting the username in NameSamCompatible
format. I should be able to fix it.
@carlreinke great! Let me know if you will have test build for validation - I understand it might be difficult to emulate the AzureAD setup if you are not using it yourself. And thanks for quick response!
Give this a try: SK-SSH-Agent-test.zip
@carlreinke this build worked great - both putty and openssh, with regular and sk keys.
👍🏻
This fix is included in v1.4.1.
Putty version 0.76 (latest) doesn't load key from agent. Tried same key in ppk format in pageant (putty works) and connect to same server using openssh for windows (version 8.9p1) - also works. So the issue is exactly the combo SK-SSH-Agent + Putty. Any special configuration I need to do?
P.S. There is a difference in the pipe name between pageant and SK-SSH-Agent:
pageant
sk-ssh-agent
So, there are two differences:
Some details: I am running this on corporate laptop, which is enrolled into AzureAD.
USERNAME
environment variable isAliaksandrStelmachon
, so I am not sure where pageant get's it's username and if it makes the difference (looks like yes, since the agent not detected by putty).