UPGRADE TO OpenSSH 6.2 pada CENTOS dan Membuat/Mengubah StringKey Menjadi ROSSSH
masukan command dibawah :
# yum install zlib zlib-devel pam pam-devel openssl openssl-devel gcc patch
# yum -y install libgssapi pam-devel
# cd /usr/local/src
# wget http://www.mirrorservice.org/sites/ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.2p2.tar.gz
# tar -xzvf openssh-6.2p2.tar.gz
# cd openssh-6.2p2
=============================
# sed -i 's/p2//g' version.h
# sed -i 's/OpenSSH_6.2/ROSSSH/g' version.h
=============================
# ./configure --prefix=/usr/local/src --sysconfdir=/etc/ssh --with-pam
jika ada error gunakan :
# ./configure --sysconfdir=/etc/ssh --bindir=/usr/bin/ --sbindir=/usr/sbin
atau :
# ./configure --sysconfdir=/etc/ssh --bindir=/usr/bin/ --sbindir=/usr/sbin --with-pam --with-kerberos5
# make
# make install
# service sshd restart
DONE !!!
sampai sini string SSH anda (jika SUKSES) sudah berubah jadi ROSSSH
@
Tagged @ Centos
0 komentar:
Posting Komentar - Kembali ke Konten