keygen
|
|
authorized_keys
|
|
ssh config
/etc/ssh/sshd_config
Port 22
PermitRootLogin no
orPermitRootLogin prohibit-password
PubkeyAuthentication yes
PasswordAuthentication no
AllowUsers user1 user2
|
|
|
|
/etc/ssh/sshd_config
Port 22
PermitRootLogin no
or PermitRootLogin prohibit-password
PubkeyAuthentication yes
PasswordAuthentication no
AllowUsers user1 user2