Reverse ssh tunnel bound to remote socket reserves the socket address after disconnect preventing reconnecting

David Newall openssh at
Sat Mar 3 21:45:50 AEDT 2018

Hi Timo,

I notice that ssh has a configuration option that's useful for you.  
According to ssh_config(5), StreamLocalBindUnlink is used to remove the 
UNIX-domain socket file before creating a new one.  It defaults to no, 
so you want to set it to yes.  I don't know when this option was 
implemented, but it's not in version 6.6p1 and it is in version 7.2p2.



More information about the openssh-unix-dev mailing list