MILADALEF / ssh-tunnel

auto script to make ssh tunnel between 2 server with related system file and cronjob (direct tunnel)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Direct/Reverse ssh-tunnel

Auto script to make ssh tunnel between 2 server with related system file and cronjob (direct tunnel) and (reverse tunnel)
  • make system file
  • generate key and copy to 2nd server
  • create cronjob after every reboot to run the script

‼️ Direct SSH Tunnel Instruction ‼️

👉 Click To View 👉

  • root previllage ( sudo -i )
  • update & upgrade server ( apt/yum update )

in your local (IRAN) VPS

Ubuntu & Debian
apt install shc && wget -4 -N https://raw.githubusercontent.com/opiran-club/ssh-tunnel/main/opiran-direct-ssh-tunnel && chmod +x opiran-direct-ssh-tunnel && ./opiran-direct-ssh-tunnel
Centos
yum install shc && wget -4 -N https://raw.githubusercontent.com/opiran-club/ssh-tunnel/main/opiran-direct-ssh-tunnel && chmod +x opiran-direct-ssh-tunnel && ./opiran-direct-ssh-tunnel

‼️ Reverse SSH Tunnel Instruction ‼️

👉 Click To View 👉

  • root previllage ( sudo -i )
  • update & upgrade server ( apt/yum update )

1) in your local (IRAN) VPS

echo "GatewayPorts yes" >> /etc/ssh/sshd_config && service ssh restart

2) in your Remote (Kharej) VPS

Ubuntu & Debian
apt install shc && wget -4 -N https://raw.githubusercontent.com/opiran-club/ssh-tunnel/main/opiran-reverse-ssh-tunnel && chmod +x opiran-reverse-ssh-tunnel && ./opiran-reverse-ssh-tunnel
Centos
yum install shc && wget -4 -N https://raw.githubusercontent.com/opiran-club/ssh-tunnel/main/opiran-reverse-ssh-tunnel && chmod +x opiran-reverse-ssh-tunnel && ./opiran-reverse-ssh-tunnel

Image Of Script

👉 Click To View 👉

🎁 Donate OPIran 🎁

👉 Click To View ⚡️ 🎁 Donate to give away great projects 🎁

✅ USDT (ERC20)

🔗 Link :


✅ TRX (TRC20)

🔗 Link :


Credits

credited by OPIran

Contacts

Telegram-Group

Telegram-Channel

About

auto script to make ssh tunnel between 2 server with related system file and cronjob (direct tunnel)