Server Refuses Key
Hello,
I've attached the log
Here are the details of my configuration:
The user can log in to the server using Remote Desktop
I've studied the documentation pretty thoroughly, and I'm not sure what I am missing,
Thanks for your help. I hope to contribute as soon as I am able, it is hard to imagine how work this is,
Kyle
I've attached the log
Here are the details of my configuration:
- Server host keys are recognized and match (according to log)
- The server user is in the Administrators Group
-
sshd_config
has this:
Match Group administrators AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys
- The file is located on the server:
c:\Windows\ProgramData\ssh\administrators_authorized_keys
- The file
administrators_authorized_keys
has permissions for full control for the administrators group
- (there is no separate
.ssh\authorized_keys
because I understood that the administrators version would apply to all accounts in the Administrators Group)
- The user key pair was generated from within WinSCP for SHA2 2048
- the public key was opened in Notepad (running as Administrator)
- and was copied to the server file above, which was opened by
- notepad running as administrator on the server
- There is no linefeed after the end of the public key
- and was copied to the server file above, which was opened by
The user can log in to the server using Remote Desktop
I've studied the documentation pretty thoroughly, and I'm not sure what I am missing,
Thanks for your help. I hope to contribute as soon as I am able, it is hard to imagine how work this is,
Kyle