assh icon indicating copy to clipboard operation
assh copied to clipboard

ControlPath directories not being created

Open kryptek opened this issue 3 years ago • 2 comments

When SSH'ing to new addresses, the ControlPath is not being created:

$ ssh 10.0.105.49/region
unix_listener: cannot bind to path /tmp/bastion-10.0.105.49/region22user.25gMzAj6vme04YH8: No such file or directory

If I create the directory first and attempt again, it succeeds.

$ mkdir /tmp/bastion-10.0.105.49 && ssh 10.0.105.49/region

kryptek avatar Mar 10 '21 21:03 kryptek

Have the same issue, please fix this.

jeffrey4l avatar Aug 01 '21 11:08 jeffrey4l

one workaround is us %C for %h

%C    Hash of %l%h%p%r.
  controlpath: ~/.temp/ssh/%r@%c-%p.sock

jeffrey4l avatar Aug 01 '21 11:08 jeffrey4l