Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  1. printf "'ja' eingeben um die Verbindungen zu Tunneln:"
  2. read antwort
  3. if [ "$antwort" == "ja" ]; then
  4. echo Gib als erstes dein Root Passwort ein danach das Passwort des Servers!
  5. sudo ssh -f ssh@78.47.249.29 -L 80:localhost:80 -N
  6. sudo ssh -f ssh@78.47.249.29 -L 443:localhost:443 -N
  7. echo SSH Tunnel für HTTP und HTTPS Verbindungen erfolgreich aufgebaut!
  8. else
  9. echo Aufbau des Tunnels abgebrochen.
  10. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement