关于SSH的一些总结
 
1. 查看sshd的版本
 
[plain]
root # rpm -qf /usr/sbin/sshd  
openssh-server-4.3p2-82.el5  
root # rpm -qi openssh-server-4.3p2-82.el5  
Name        : openssh-server               Relocations: (not relocatable)  
Version     : 4.3p2                             Vendor: Red Hat, Inc.  
Release     : 82.el5                        Build Date: Wed 04 Jan 2012 09:42:39 PM CST  
Install Date: Mon 25 Mar 2013 10:02:23 AM CST      Build Host: hs20-bc2-3.build.redhat.com  
Group       : System Environment/Daemons    Source RPM: openssh-4.3p2-82.el5.src.rpm  
Size        : 491029                           License: BSD  
Signature   : DSA/SHA1, Thu 05 Jan 2012 11:55:31 PM CST, Key ID 5326810137017186  
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>  
URL         : http://www.openssh.com/portable.  
Summary     : The OpenSSH server daemon  
Description :  
OpenSSH is a free version of SSH (Secure SHell), a program for logging  
into and executing commands on a remote machine. This package contains  
the secure shell daemon (sshd). The sshd daemon allows SSH clients to  
securely connect to your SSH server. You also need to have the openssh  
package installed.