linux密钥相关

禁用密码登录

/etc/ssh/sshd_config

PubkeyAuthentication        yes
AuthorizedKeysFile          .ssh/authorized_keys
PasswordAuthentication      no