2022
我们一起努力

在suse enterprise 10下如何开启ssh

这篇文章给大家分享的是有关在suse enterprise 10 下如何开启ssh的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。

默认防火墙是关闭的。

#netstat -ant|grep 22 //查看22端口状态
suse:~ # netstat -ant|grep 22
tcp        0      0 :::22                   :::*                    LISTEN
tcp        0     52 192.168.31.117:22       192.168.31.17:1282      ESTABLISHED
#/etc/ssh/ssh_config —> PasswordAuthentication yes
/usr/bin/ssh: security shell: 
#/etc/ssh/sshd_config —> PasswordAuthentication yes

在suse enterprise 10下如何开启ssh

RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
/Password   

如果防火墙是关闭的。
#yast: Yet Another System Tool,在firewall中设定允许ssh通过。
#ssh restart: 重新启动ssh服务
启动ssh服务
#service sshd start
#service sshd restart
停止服务器:
  #service sshd stop

感谢各位的阅读!关于“在suse enterprise 10 下如何开启ssh”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!

赞(0)
文章名称:《在suse enterprise 10下如何开启ssh》
文章链接:https://www.fzvps.com/50057.html
本站文章来源于互联网,如有侵权,请联系管理删除,本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。
图片版权归属各自创作者所有,图片水印出于防止被无耻之徒盗取劳动成果的目的。

评论 抢沙发

评论前必须登录!