2

Can ssh be used with ControlPath set to a path on an nfs share if the control socket being shared was created by another host?

Attempting this gives me this error message:

Control socket connect(/home/user/.ssh/master-user@host:port): Connection refused

It works if I attempt it from the same machine.

I can't find anything in the documentation to suggest why this shouldn't be possible.

7

Socket files don't actually exist on the filesystem other than as a directory entry; they're only used as pointers within the VFS on the same machine. Since you can't share a VFS across multiple machines, you can't share socket files.

  • Great, this is the answer I was looking for. Can you also provide a reference? – Matt Joiner Oct 31 '11 at 23:49
  • Unfortunately I don't have one; I may have at one time but it's long lost. – Ignacio Vazquez-Abrams Nov 1 '11 at 1:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.