19 November 2013

ssh susah konek?

yum install zlib zlib-devel pam pam-devel openssl openssl-devel gcc patch
 cd /usr/src 
 wget http://ftp3.usa.openbsd.org/pub/OpenSSH/portable/openssh-4.3p2.tar.gz 
 tar -xzvf openssh-4.3p2.tar.gz 
 cd openssh-4.3p2 
 ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam 
 mv /etc/ssh/ssh_config /etc/ssh/ssh_config.bk 
 mv /etc/ssh/sshd_config /etc/ssh/sshd_config.bk 
 make 
 make install 
 service sshd restart 
 nano /etc/ssh/sshd_config