shellskripte/ssh/ssh_password.help

22 lines
598 B
Plaintext

NAME
ssh_password - verwaltet SSH PasswordAuthentication
SYNOPSIS
sudo ./ssh_password -y
sudo ./ssh_password -n
./ssh_password -s
BESCHREIBUNG
Dieses Skript aktiviert oder deaktiviert die Option PasswordAuthentication
in /etc/ssh/sshd_config und startet anschließend den SSH-Dienst neu.
OPTIONEN
-y Setzt PasswordAuthentication auf 'yes'
-n Setzt PasswordAuthentication auf 'no'
-s Zeigt den aktuellen Status (kein sudo nötig)
HINWEIS
Änderungen erfordern root-Rechte.
Vor jeder Änderung wird ein Backup der sshd_config erstellt.