码迷,mamicode.com
首页 > 系统相关 > 详细

linux 系统的ssh服务

时间:2017-01-08 16:31:41      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:securecrt   i686   hang   组成   centos5   pen   xshell   linux   应用   

ssh服务由服务端软件Openssh和客户端(常见的有ssh,SecureCRT,putty,xshell)组成,ssh服务默认使用22端口提供服务,它有两个不兼容的ssh协议版本,分别是1.x和2.x

下面我们看下服务端上的ssh相关软件

[root@greymouster ~]# rpm -qa openssh
openssh-5.3p1-104.el6.i686
[root@greymouster ~]# rpm -qa |grep openssh
openssh-askpass-5.3p1-104.el6.i686
openssh-clients-5.3p1-104.el6.i686
openssh-server-5.3p1-104.el6.i686
openssh-5.3p1-104.el6.i686
[root@greymouster ~]# rpm -qa openssh openssl
openssl-1.0.1e-30.el6.i686
openssh-5.3p1-104.el6.i686
[root@greymouster ~]# ps -ef |grep ssh
root      1483     1  0 12:48 ?        00:00:00 /usr/sbin/sshd
root      6234  1483  0 20:42 ?        00:00:00 sshd: root@pts/0 
root      6461  6237  0 21:50 pts/0    00:00:00 grep ssh

ssh客户端包含ssh程序以及scp(远程拷贝)、slogin(远程登录)、sftp(安全FTP文件传输)等应用程序

Openssh是ssh服务端的软件之一,可同时支持ssh1和ssh2协议,可以在配置文件中使用protocol指令指定只支持其中一种或两种都支持,默认情况下centos5.x系统默认配置的是仅支持ssh2协议

[root@greymouster ~]# less /etc/ssh/sshd_config
# Disable legacy (protocol version 1) support in the server for new
# installations. In future the default will change to require explicit
# activation of protocol 1
Protocol 2

 

linux 系统的ssh服务

标签:securecrt   i686   hang   组成   centos5   pen   xshell   linux   应用   

原文地址:http://www.cnblogs.com/chenchenphp/p/6262035.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!