Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 4 down vote accepted

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.

share|improve this answer
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

You must log in to answer this question.

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