Installing Shellinabox on Linux :
On Debian, Ubuntu and Linux Mint :
$ sudo apt-cache search shellinabox
$ sudo apt-get install openssl shellinabox
On RHEL, CentOS and Fedora :
# yum install openssl shellinabox
Configuring Shellinabox:
On Debian, Ubuntu and Linux Mint
$ sudo vi /etc/default/shellinabox
On RHEL, CentOS and Fedora
# vi /etc/sysconfig/shellinaboxd
# TCP port that shellinboxd's webserver listens on
PORT=6175
# specify the IP address of a destination SSH server
OPTS="-s /:SSH:172.16.25.125"
# if you want to restrict access to shellinaboxd from localhost only
OPTS="-s /:SSH:172.16.25.125 --localhost-only"
Starting Shellinabox:
On Debian, Ubuntu and Linux Mint
$ sudo service shellinaboxd start
On RHEL and CentOS:
# service shellinaboxd start
On Fedora:
# systemctl enable shellinaboxd.service
# systemctl start shellinaboxd.service
Verify Shellinabox:
$ sudo netstat -nap | grep shellinabox
On Debian, Ubuntu and Linux Mint :
$ sudo apt-cache search shellinabox
$ sudo apt-get install openssl shellinabox
On RHEL, CentOS and Fedora :
# yum install openssl shellinabox
Configuring Shellinabox:
On Debian, Ubuntu and Linux Mint
$ sudo vi /etc/default/shellinabox
On RHEL, CentOS and Fedora
# vi /etc/sysconfig/shellinaboxd
# TCP port that shellinboxd's webserver listens on
PORT=6175
# specify the IP address of a destination SSH server
OPTS="-s /:SSH:172.16.25.125"
# if you want to restrict access to shellinaboxd from localhost only
OPTS="-s /:SSH:172.16.25.125 --localhost-only"
Starting Shellinabox:
On Debian, Ubuntu and Linux Mint
$ sudo service shellinaboxd start
On RHEL and CentOS:
# service shellinaboxd start
On Fedora:
# systemctl enable shellinaboxd.service
# systemctl start shellinaboxd.service
Verify Shellinabox:
$ sudo netstat -nap | grep shellinabox
Comments
Post a Comment
thank you for visiting :)