毎回鍵認証をしようとするときに、「sshd_config」でつまずくのでメモ
#RSAAuthentication yes #PubkeyAuthentication yes
RSAAuthentication yes PubkeyAuthentication yes
このように設定すると公開鍵認証でのログインを許可できる
変更後はsshdを再起動する必要がある
sshdの再起動はOSによって変わるので注意
例:
# systemctl restart sshd
# sudo /etc/rc.d/init.d/sshd restart
コメント