コンフィグファイルの編集
# vi /etc/ssh/sshd_config
以下の項目のコメントアウトを外す
Port 22
Protocl 2
PasswordAuthentication yes
PubkeyAuthentication yes
HostbasedAuthentication no
PermitRootLogin no
コンフィグファイルの編集後、sshdを再起動する
# /etc/init.d/sshd restart
More than 5 years have passed since last update.
コンフィグファイルの編集
# vi /etc/ssh/sshd_config
以下の項目のコメントアウトを外す
Port 22
Protocl 2
PasswordAuthentication yes
PubkeyAuthentication yes
HostbasedAuthentication no
PermitRootLogin no
コンフィグファイルの編集後、sshdを再起動する
# /etc/init.d/sshd restart
Register as a new user and use Qiita more conveniently