4

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.

1 Answer 1

11

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .