本人很喜欢应用SUSE enterprise 10,在工作中也很喜欢总结关于SUSE enterprise 10的经验教训,下面就这个问题在suse enterprise 10 下怎样开启ssh来给大家详细说说吧。

学习SUSE enterprise 10时,你可能会遇到SUSE enterprise 10问题,这里将介绍SUSE enterprise 10问题的解决方法,在这里拿出来和大家分享一下。今天讲的是在SUSE enterprise 10 下怎样开启ssh。

教会你在suse enterprise 10 下怎样开启ssh的方法(suse系统开启ssh)  SUSE 第1张

默认防火墙是关闭的。

#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

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的一些东西,可能好多人还不了解SUSE enterprise 10,没有关系,看完本文你肯定有不少收获,希望本文能教会你更多东西。

【编辑推荐】

  1. SuSE Linux下的播放器安装:mplayer
  2. OpenSUSE 11.2正式版发布并提供下载
  3. 简单正确解决配置SUSE网络步骤
  4. 手把手的教你SUSE linux enterprise 10 desktop硬盘安装
  5. 浅析建设SUSE Java开发环境
转载请说明出处
知优网 » 教会你在suse enterprise 10 下怎样开启ssh的方法(suse系统开启ssh)

发表评论

您需要后才能发表评论