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
authorized keys for Administrator user should be stored in C:\ProgramData\ssh\administrators_authorized_keys, not in C:\Users\username\.ssh\authorized_keys.
this bug results in inability to connect using ssh key authentication as Administrator even when correct public key was provided to SetUserSSHPublicKeysPlugin.
The text was updated successfully, but these errors were encountered:
I think we need a new key for cloud-init config that will contain a list of SSH keys to add to this file.
Or maybe if the user is in the Administrators group, Cloudbase-Init should append their keys directly to C:\ProgramData\ssh\administrators_authorized_keys instead of creating C:\Users\username\.ssh\authorized_keys.
Hello,
SetUserSSHPublicKeysPlugin is always populating ~/.ssh/authorized_keys with public key (if provided).
but this path is incorrect for Administrative users.
as explained here: https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement#administrative-user
authorized keys for Administrator user should be stored in
C:\ProgramData\ssh\administrators_authorized_keys
, not inC:\Users\username\.ssh\authorized_keys
.this bug results in inability to connect using ssh key authentication as Administrator even when correct public key was provided to SetUserSSHPublicKeysPlugin.
The text was updated successfully, but these errors were encountered: