Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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