HOW TO INSTALL SSH DROPBEAR ON VPS CENTOS 5 AND 6

Download and install package for dropbear :

Centos 5 32-bit:
wget http://dl.fedoraproject.org/pub/epel/5/i386/dropbear-0.55-1.el5.i386.rpm
rpm -Uvh dropbear*.rpm
 Centos 5 64-bit:
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/dropbear-0.55-1.el5.x86_64.rpm
rpm -Uvh dropbear*.rpm
Centos 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*.rpm
Centos 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*.rpm
Until 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 script
OPTIONS="-p 22 -p 109 -p 143 -p 443"
Place that script on like the picture at below


And than save that configuration, Press Ctrl+X => Y => SAVE (ENTER)

after it, start the dropbear service

  service dropbear start
and than, make that dropbear  run on startup
chkconfig --add dropbear
chkconfig dropbear on
Okay, 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

loading...