Download and install package for dropbear :
Centos 5 32-bit:
And than save that configuration, Press Ctrl+X => Y => SAVE (ENTER)
after it, start the dropbear service
Paper 4Share - HOW TO INSTALL SSH DROPBEAR ON VPS CENTOS 5 AND 6
Centos 5 32-bit:
wget http://dl.fedoraproject.org/pub/epel/5/i386/dropbear-0.55-1.el5.i386.rpm
rpm -Uvh dropbear*.rpmCentos 5 64-bit:
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/dropbear-0.55-1.el5.x86_64.rpm
rpm -Uvh dropbear*.rpmCentos 6 32-bit:
wget http://dl.fedoraproject.org/pub/epel/6/i386/dropbear-2014.65-1.el6.i686.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libtommath-0.42.0-3.el6.i686.rpm
rpm -Uvh libtommath*.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libtomcrypt-1.17-21.el6.i686.rpm
rpm -Uvh libtomcrypt*.rpm
rpm -Uvh dropbear*.rpmCentos 6 64-bit:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/dropbear-2014.65-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libtommath-0.42.0-3.el6.x86_64.rpm
rpm -Uvh libtommath*.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/libtomcrypt-1.17-21.el6.x86_64.rpm
rpm -Uvh libtomcrypt*.rpm
rpm -Uvh dropbear*.rpmUntil here, the dropbear have been instaled, and than we will setting a configuration of port number for droopbear. The writter using nano as text editor. Let's follow me :
nano /etc/init.d/dropbear
add this scriptPlace that script on like the picture at below
OPTIONS="-p 22 -p 109 -p 143 -p 443"
And than save that configuration, Press Ctrl+X => Y => SAVE (ENTER)
after it, start the dropbear service
service dropbear startand than, make that dropbear run on startup
chkconfig --add dropbear
chkconfig dropbear onOkay, finish, you can use an 22, 109, 143, and 443 ports as SSH Dropbear.
Paper 4Share - HOW TO INSTALL SSH DROPBEAR ON VPS CENTOS 5 AND 6
Comments
Post a Comment