教会你在suse enterprise 10 下怎样开启ssh的方法

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

学习SUSE enterprise 10时,你可能会遇到SUSE enterprise 10问题,这里将介绍SUSE enterprise 10问题的解决方法,在这里拿出来和大家分享一下。今天讲的是在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

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开发环境
责任编辑:小霞 来源: http://blog.sina.com.cn/thysalon
相关推荐

2009-11-24 10:20:36

SUSE Enterp

2009-12-01 19:06:22

SUSE Linux

2009-11-24 14:38:33

kickstart下安

2009-11-26 14:06:43

Suse安装Oracl

2009-11-26 14:42:03

开启Suse ntp服

2009-11-26 10:48:44

安装SUSE Linu

2009-12-10 10:18:44

Apache安装

2010-01-07 15:00:39

Redhat Ente

2009-11-24 10:06:21

SUSE enterp

2009-11-27 10:15:26

Suse Linux

2009-11-26 11:29:48

安装SUSE Linu

2009-05-13 07:36:24

LinuxSUSEEnterprise

2009-12-03 18:31:37

SUSE Linux

2009-12-16 11:11:10

硬盘读写速度

2009-12-21 14:13:04

重复行uniq

2009-11-26 11:14:17

安装SUSE Linu

2009-12-03 14:35:09

DHCP服务器配置

2013-07-02 10:52:42

SUSELinuxWindows Azu

2013-07-02 11:34:46

SUSELinuxWindows Azu

2009-05-13 07:59:11

NovellSuseLinux
点赞
收藏

51CTO技术栈公众号