首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

在Linux中配备ssh

2012-10-20 
在Linux中配置sshssh的问题1、chkconfig --list | grep sshd查看ssh服务有没有安装2、修改sshd_config文件修

在Linux中配置ssh
ssh的问题
1、chkconfig --list | grep sshd查看ssh服务有没有安装
2、修改sshd_config文件
修改/etc/ssh/sshd_config,主要是设置port 22,PermitRootLogin为yes,PasswordAuthentication为yes,Protocol为2,注意去掉前面的注释号,yes一定要小写
3、4、重新启动SSH服务:/etc/init.d/sshd restart
4验证SSH服务状态:/etc/init.d/sshd status

热点排行