Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. $ ssh -f -L 8080:localhost:22 -o ExitOnForwardFailure=yes root@server.com "sleep 60" ; sleep 3; ps xu|grep ssh
  2. bind: Address already in use
  3. halfgaar 780086 0.0 0.0 51432 728 ? Ss 12:32 0:00 ssh -f -L 8080:localhost:22 -o ExitOnForwardFailure=yes root@server.com sleep 60
  4.  
  5. halfgaar@<localmachine>: ~
  6. $ ssh -L 8080:localhost:22 -o ExitOnForwardFailure=yes root@server.com
  7. bind: Address already in use
  8. Linux <remoteserver> 4.9.0-8-686-pae #1 SMP Debian 4.9.144-3 (2019-02-02) i686
  9.  
  10. The programs included with the Debian GNU/Linux system are free software;
  11. the exact distribution terms for each program are described in the
  12. individual files in /usr/share/doc/*/copyright.
  13.  
  14. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  15. permitted by applicable law.
  16. Last login: Fri May 31 12:39:27 2019 from 84.22.107.110
  17. root@<remoteserver>: ~
  18. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement