SSH

Sicherer Remote-Zugang zum Server. Nur Key-Authentifizierung erlaubt, Passwort-Login ist deaktiviert. Port 2022 statt Standard-Port 22 für zusätzliche Sicherheit.

Port2022
AuthNur SSH-Keys
RootMit Key erlaubt

Konfiguration

Datei: /etc/ssh/sshd_config.d/99-custom.conf

Port 2022
PubkeyAuthentication yes
PasswordAuthentication no
PermitEmptyPasswords no
PermitRootLogin prohibit-password
MaxAuthTries 3
MaxSessions 5
ClientAliveInterval 300
ClientAliveCountMax 2

Verbindung

ssh -p 2022 root@88.198.50.199