Shellina Box SSH via HTTP
Da wiki.gienne.cloud.
Versione del 26 ago 2019 alle 13:46 di Admin (Discussione | contributi)
Consigliato:
systemctl disable firewalld systemctl stop firewalld Andare in /etc/selinux a modificare il config in Permissive
Installare wget per scarico pacchetti:
yum install wget
-- RHEL/CentOS 7 64-Bit --
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh epel-release-latest-7.noarch.rpm
-- RHEL/CentOS 6 32-Bit --
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm
-- RHEL/CentOS 6 64-Bit --
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm
yum install openssl shellinabox
systemctl start shellinaboxd systemctl enable shellinaboxd
o
service start shellinaboxd
Step 1 nano /etc/sysconfig/selinux. ... Step 2 iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j ACCEPT. Step 3 sudo service iptables save. For Cent OS 7. step 1 firewall-cmd --zone=public --permanent --add-port=8080/tcp. Step 2 firewall-cmd --reload.
firewall-cmd --zone=public --permanent --add-port=4200/tcp firewall-cmd --reload