Benutzer-Werkzeuge

Webseiten-Werkzeuge


knowledge_base:linux:ssh

Dies ist eine alte Version des Dokuments!


SSH

debian

from here.

/etc/ssh/sshd_config
PermitRootLogin yes
/etc/init.d/ssh restart

add Pubkey to server

from https://linuxhandbook.com/add-ssh-public-key-to-server/

add key to root/.ssh/authorized_keys oder /home/user/.ssh/authorized_keys

Settings for only Pubkey auth:

/etc/ssh/sshd_config
PubkeyAuthentication yes
PasswordAuthentication no

password has to be explicitely disabled

See also

/app/www/public/data/attic/knowledge_base/linux/ssh.1652985348.txt.gz · Zuletzt geändert: 2022/05/19 20:35 von julian.lemmerich