admin_grundlagen:ssh
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| admin_grundlagen:ssh [2025/08/14 12:20] – [Serverseitig Passwortauthentifizierung abschalten] ingo_wichmann | admin_grundlagen:ssh [2026/10/23 14:13] (aktuell) – [Serverseitig Passwortauthentifizierung abschalten] ingo_wichmann | ||
|---|---|---|---|
| Zeile 78: | Zeile 78: | ||
| <file txt / | <file txt / | ||
| - | | + | UsePAM yes |
| - | KbdInteractiveAuthentication no | + | KbdInteractiveAuthentication no |
| - | PasswordAuthentication no | + | PasswordAuthentication no |
| </ | </ | ||
| ==== Syntax prüfen ==== | ==== Syntax prüfen ==== | ||
| - | | + | |
| ==== Dienst neu starten ==== | ==== Dienst neu starten ==== | ||
| + | Debian: | ||
| systemctl restart ssh.service | systemctl restart ssh.service | ||
| + | Rocky Linux: | ||
| + | systemctl restart sshd.service | ||
| ===== ssh-agent ===== | ===== ssh-agent ===== | ||
| Zeile 142: | Zeile 145: | ||
| ssh notebook02 | ssh notebook02 | ||
| - | Bei älteren SSH-Versionen: | + | ++++ Bei älteren SSH-Versionen |
| centos 7, debian 8, ubuntu 16.04: | centos 7, debian 8, ubuntu 16.04: | ||
| Zeile 166: | Zeile 169: | ||
| ProxyCommand ssh -q notebook01.linuxhotel.de nc %h %p | ProxyCommand ssh -q notebook01.linuxhotel.de nc %h %p | ||
| </ | </ | ||
| + | ++++ | ||
| ===== Hop Server ===== | ===== Hop Server ===== | ||
| // | // | ||
admin_grundlagen/ssh.1755174010.txt.gz · Zuletzt geändert: 2025/08/14 12:20 von ingo_wichmann
