Guest User

Untitled

a guest
Oct 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. #Enter your username and host here
  4. SERVERUSER=""
  5. SERVER=""
  6.  
  7. screen -dm -S 'autossh' bash -c 'autossh -M 65520 -o ServerAliveInterval=20 -R 2220:localhost:22 $SERVERUSER@$SERVER'
Add Comment
Please, Sign In to add comment