`
ll_feng
  • 浏览: 383528 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

在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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics