You need to use the C:\ProgramData\ssh\ administrators_authorized_keys file instead of the authorized_keys key in the user profile. OpenSSH uses special key-based authentication settings for admin user accounts on Windows. Logging Windows with SSH Key Under Administrative User If you were not able to connect to your SSH server using your private key and you are still prompted to enter a password, it is likely that the user account you are trying to connect to is a member of the local Windows administrators group (the group SID is S-1-5-32-544). If the SSH connection with the private key is successful, the following event will appear in the OpenSSH log: EventID 4 You can check the SSH key-based authentication logs in the Windows Event Viewer (Application and Services Logs -> OpenSSH -> Operational). The authenticity of host '192.168.1.15 (192.168.1.15)' can't be established.Īre you sure you want to continue connecting (yes/no/)? yesĮTW logging is used in Windows OpenSSH to store SSH logs instead of plain text files. When connecting for the first time, you need to add the fingerprint of the SSH server key to the trusted list.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |