purazumakoiの[はてなブログ]

技術メモから最近はライフログも増えてきてます。

SSHサーバをとりあえず!

VPSとか、公開サーバなどの外部サーバは公開鍵方式が必須だけど
とりあえず社内とか、自宅内で試すには普通のパスワード認証でいきたい!
セキュリティはとりあえず置いておく場合の設定


via
http://www.i2kt.com/linux/centos/package/index_ssh.html

[root@web ~]# yum update openssh
[root@web ~]# yum update openssh-clients
[root@web ~]# yum update openssh-server
[root@web ~]# yum update openssl


[root@web ~]# /etc/rc.d/init.d/sshd restart

これだけ。
しかし、rootでのログインくらいは禁止したほうがいいでしょう。