在xp中ssh登陆redhat—linux

来源:互联网 发布:网络培训工程平台 编辑:程序博客网 时间:2024/05/21 08:47

在xp中ssh登陆redhat—linux

步骤

1.      在linux中开启ssh服务

2.      客户端安装SSH客户端,进行登录。(xp下:SSHSecureShellClient-3.2.9.zip)

 

详细信息

一、     在redhat linux中开启ssh服务。

1.      首先判断linux是否开通服务:

  

如图,openssh-deamonis running  则 ssh服务启动。

2.      若没启动,这样做:

1)       修改sshd_config 文件 命令:vi /etc/ssh/sshd_config

2)       将  #PasswordAuthentication  no 的注释去掉,并且将no 改为yes

3)       将  #permitRootLogin yes 的 # 去掉

4)       重启ssh服务:/etc/init.d/sshdrestart

验证SSH服务状态:/etc/init.d/sshd status 
原创粉丝点击