-
Notifications
You must be signed in to change notification settings - Fork 775
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
PublicKey authetication failed #705
Comments
We are seeing the same exact error with the latest release |
@XDTZ IT should be C:\Users\myuser.ssh\authorized_keys // "" after user name |
@manojampalam Well it's straight from the logs. I did not change anything. However in #253 someone else posted a working case with similar log output :
|
The way path is output in logs is an aartifact of path differences between Windows and Unix. We have a bug tracking this (#469). Otherwise, can you dump the output of the following: Also, is authorized_keys a dir or a file (It should be a file) |
@manojampalam I'm such a noob. Only until now do I find out authorized_keys is a file rather than a folder! It totally works now. I'm closing the issue. Thanks! |
"OpenSSH for Windows" version
0.0.12.0
OS details
Server: Windows 10 Education Insider Preivew 15063
Client: Ubuntu 16.04
What is failing
Although password login works fine. I cannot login with public key authentication.
Installation process followed the example in wiki. I also checked the permission of C:\Users\myuser.ssh\authorized_keys and granted NS SERIVCE\SSHD full control of such directory. However from the logs below, it seems the path format is illegal for Windows system:
debug1: Could not open authorized keys 'C:\\Users\\Frank/.ssh/authorized_keys': Permission denied
My server log dump:
My client ssh -v dump:
My sshd_config:
Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: