Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- printf "'ja' eingeben um die Verbindungen zu Tunneln:"
- read antwort
- if [ "$antwort" == "ja" ]; then
- echo Gib als erstes dein Root Passwort ein danach das Passwort des Servers!
- sudo ssh -f ssh@78.47.249.29 -L 80:localhost:80 -N
- sudo ssh -f ssh@78.47.249.29 -L 443:localhost:443 -N
- echo SSH Tunnel für HTTP und HTTPS Verbindungen erfolgreich aufgebaut!
- else
- echo Aufbau des Tunnels abgebrochen.
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement