View Single Post
  #5   (View Single Post)  
Old 14th September 2015
gso gso is offline
Port Guard
 
Join Date: Nov 2014
Posts: 35
Default

ssh -D 1080 -CNf -o ExitOnForwardFailure=yes user@host... && pgrep -x -n ssh

Seems to work quite reliably. Having said that there is only ever going to be one ssh process listening on 1080.
Reply With Quote