Ssh (Putty-Zugriff)

Aus Wiki
Wechseln zu: Navigation, Suche

apt-get install ssh

Konfiguration

Wir editieren nun unsere sshd_config die sich in /etc/ssh befinden sollte. In der config ändern wir nun ein paar dinge bzw aktivieren sie falls sie es nicht sind. Port 22 Protocol 2 AllowUsers user1 user2 LoginGraceTime 2m PermitRootLogin no StrictModes yes MaxAuthTries 1 PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys RhostsRSAAuthentication no PasswordAuthentication no PermitEmptyPasswords no UsePAM yes

https://wiki.hetzner.de/index.php/Sshd