isotopp.github.io icon indicating copy to clipboard operation
isotopp.github.io copied to clipboard

2024-11-26-windows-abschalten.md - Konfigurations Optionen

Open 75ohm opened this issue 11 months ago • 0 comments

Hi @isotopp ,

ich lasse das mal als Feature Issue Type hier und nicht direkt als Pull Request, da Du es vermutlich weißt und absichtlich nicht verkompliziert hast.

Bzgl.: The contents of your public key (\.ssh\id_ecdsa.pub) needs to be placed on the server into a text file called administrators_authorized_keys in C:\ProgramData\ssh\. ist das sogar unter Windows 10 & Windows 11 konfigurierbar. Ich persönlich stelle es immer direkt mit dem ablegen des ssh-keys um.

Unter C:\ProgramData\ssh\sshd_config gibt es folgenden Eintrag den Du deaktivieren musst (natürlich ganz am Ende der Datei): #Match Group administrators # AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys und schon sucht er auch für Adminstratoren den ssh-key wieder unter dem regulären C:\Users\username\.ssh\

Gruß

Daniel

75ohm avatar Mar 02 '25 15:03 75ohm