You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had trouble getting public key authentication to work with this role and a clean install of Win10. I found that a recent change to Win32OpenSSH has changed the location of the authorized_keys file for users in group Administrators. Users in Administrators group now look for keys in __PROGRAMDATA__\ssh\administrators_authorized_keys instead of in their home directory.
Sorry it took so long for me to get to it, I've added the ability to control this option with #7. It also keys this working with non-English locales if you are running that and want a shared location.
I had trouble getting public key authentication to work with this role and a clean install of Win10. I found that a recent change to Win32OpenSSH has changed the location of the authorized_keys file for users in group Administrators. Users in Administrators group now look for keys in
__PROGRAMDATA__\ssh\administrators_authorized_keys
instead of in their home directory.Refs:
PowerShell/Win32-OpenSSH#1324
https://github.com/PowerShell/Win32-OpenSSH/wiki/sshd_config#authorizedkeysfile
For now, I've worked around the issue in my playbook by doing the following, so maybe these steps could be folded back into the role:
The text was updated successfully, but these errors were encountered: