SSH connection only with SSH-Key: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Laemmi (Diskussion | Beiträge) Die Seite wurde neu angelegt: „Category:Mac Only allow SSH Connections with SSH-Keys sudo vi /etc/sshd_config PasswordAuthentication no PermitEmptyPasswords no UsePAM no == Restart…“ |
(kein Unterschied)
|
Aktuelle Version vom 22. September 2021, 19:34 Uhr
Only allow SSH Connections with SSH-Keys
sudo vi /etc/sshd_config PasswordAuthentication no PermitEmptyPasswords no UsePAM no
Restart SSH services
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist