niwacchi.log

niwacchiのログ。

sshの初期設定いろいろ

公開鍵を生成

#ssh-keygen

公開鍵をサーバに設置

#~/.ssh/authorized_keys

公開鍵ディレクトリの権限変更

#chmod 700 ~/.ssh
#chmod 600 ~/.ssh/authorized_keys

/etc/ssh/sshd_configの設定変更

PermitRootLogin without-password
PasswordAuthentication no