Skip to content

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

Notifications You must be signed in to change notification settings

SajjadJz/ssh-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Direct ssh-tunnel

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

  • make system file
  • generate key and copy to 2nd server
  • create cronjob after every reboot to run the script

‼️ INSTRUCTION ‼️

  • root previllage ( sudo -i )
  • update & upgrade server ( apt/yum update )
  • Install curl ( apt/yum install curl -y )

‼️ Ubuntu & Debian

apt install shc && wget -4 -N https://raw.githubusercontent.com/opiran-club/ssh-tunnel/main/opiran-sshtunnel && chmod +x opiran-sshtunnel && ./opiran-sshtunnel

‼️ Centos

yum install shc && wget -4 -N https://raw.githubusercontent.com/opiran-club/ssh-tunnel/main/opiran-sshtunnel && chmod +x opiran-sshtunnel && ./opiran-sshtunnel

credited by OPIran

Telegram-Group Telegram-Channel

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published