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.

Matt Joiner
  • 1,102

1 Answers1

12

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.