-
Notifications
You must be signed in to change notification settings - Fork 781
rsa key authentication fails #271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello. I'm getting the exact same issue on a 2012 Server. Password auth works fine, but there is no way to get public key auth working. I've reinstalled OpenSSH several times, I've checked that the install-sshlsa.ps1 executed properly, I've tried to launch the service as the administrator account, I've tried to specify an explicit authorized_keys path, in vain..... |
C:\Users\Marc.ssh\authorized_keys should be Other than that refer to https://github.com/PowerShell/Win32-OpenSSH/wiki/ssh.exe-examples Also look into ssh-agent.log for any pointers. |
What's the difference ?? |
@manojampalam 's comment should probably be That was indeed a typo in my original question; However, I did use a separate .ssh directory. In the meantime (also because I had issues with scp), I gave up and installed Cygwin with openssh package |
I'm not sure whether this is the right place to ask but I have a problem with key-based authentication.
I installed Open SSH on my Windows10 PC
Using ssh [email protected], I can connect from my mac (by giving a password)
I can connect using RSA keys from my Mac to another Linux system (after generating the key on my Mac and adding my id_rsa.pub to the Linux pc .ssh/authorized_keys)
However, I can't connect using the same RSA key to my Windows PC (after adding the content of my id_rsa.pub to C:\Users\Marc.ssh\authorized_keys)
When starting the sshd with debug info and trying to connect, I see the log lines below
Any help appreciated!
Marc
The text was updated successfully, but these errors were encountered: