centos 安装ssh

yum install ssh
启动SSH
service sshd start
开机运行
chkconfig sshd on

#ServerKeyBits 1024-->ServerKeyBits 1024 加密强度

#PermitRootLogin yes -->PermitRootLogin no 不允许root登陆

#PasswordAuthentication yes -->PasswordAuthentication yes 不允许密码方式的登录

#PermitEmptyPasswords no -->PermitEmptyPasswords no 不允许空密码登陆

posted on 2013-07-12 13:48  imegg  阅读(155)  评论(0编辑  收藏  举报

导航