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.
Regards,
David
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev