#rpm -qa |grep openssh

   #rpm -e `rpm -qa|grep openssh`

   

   #tar zxvf openssh.tar.gz -C /

   ##./configure --prefix=/usr/local/openssh --sysconfdir=/etc/ssh --with-pam --with-ssl-dir=/usr/local/openssl

           --with-md5-passwords --mandir=/usr/share/man --with-zlib=/usr/local/zlib

       (这些编译进去的是什么功能..)

       #make

       #make install

       

        # cp -p /contrib/redhat/sshd.init /etc/init.d/sshd     (openssh解压目录)

        # chmod u+x /etc/init.d/sshd

        # chkconfig sshd on

        #cp /openssh5.9p1/sshd_config  /etc/ssh/sshd_config

       # cp /usr/local/openssh/sbin/sshd  /usr/sbin/sshd

       #cp /usr/local/openssh/bin/ssh-keygen /usr/bin/