User Tools

Site Tools


software:service:ssh

SSH

sshd_config

After change, restart sshd unit (systemd)
Edit /etc/ssh/sshd_config

no IPv6

#AddressFamily any
AddressFamily inet

Root key only

PermitRootLogin prohibit-password
#PermitRootLogin yes

Users key only

PubkeyAuthentication yes
...
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PermitEmptyPasswords no

.ssh/config

examples

software/service/ssh.txt · Last modified: 2021/12/31 18:48 by warnaud