企业在suse 10下如何开启ssh

介绍

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

默认防火墙是关闭的。

# netstat ant | grep 22//查看22端口状态
suse: ~ # netstat ant | grep 22
tcp ,,,,,,0,,,,,0:::22,,,,,,,,,,,,,,,,,,:::*,,,,,,,,,,,,,,,,,,,
tcp 听,,,,,,,0,,,,52 192.168.31.117:22 ,,,,,192.168.31.17:1282 ,,,,建立了
#/etc/ssh/ssh_config——→PasswordAuthentication是的
/usr/bin/ssh:安全shell:,
#/etc/ssh/sshd_config——→PasswordAuthentication

RhostsRSAAuthentication否
#,,RSAAuthentication是的
#,,PasswordAuthentication是的
#,,HostbasedAuthentication没有
#,,BatchMode没有
#,,CheckHostIP是的
#,,AddressFamily任何
#,,ConnectTimeout 0
#,,StrictHostKeyChecking问
#,,IdentityFile ~/. ssh/身份
#,,IdentityFile ~/. ssh/id_rsa
#,,IdentityFile ~/. ssh/id_dsa
#,,端口22
#,,协议2 1
/Password ,,

如果防火墙是关闭的。
# yast:另一个系统工具,在防火墙中设定允许ssh通过。
# ssh重启:重新启动ssh服务
启动ssh服务
# sshd服务启动
#服务重新启动sshd
停止服务器:
# sshd服务停止

企业在suse 10下如何开启ssh