When I try to connect to another machine on our local network I get:
raceback (most recent call last):
File "./test.py", line 8, in <module>
server = DeployedServer(mach)
File "/usr/local/lib/python2.7/dist-packages/rpyc/utils/zerodeploy.py", line 132, in __init__
raise ProcessExecutionError(self.proc.argv, self.proc.returncode, BYTES_LITERAL(line) + stdout, stderr)
plumbum.commands.processes.ProcessExecutionError: Command line: ['/usr/bin/ssh', '172.16.10.3', 'cd', '/home/brian', '&&', '/usr/bin/python2.7', '/tmp/tmp.oygaOb6dDY/deployed-rpyc.py']
Exit code: 255
Stderr: | ssh: connect to host 172.16.10.3 port 22: Connection timed out
real 2m16.948s
user 0m0.116s
sys 0m0.028s
I've tried changing time outs and keepalives for the sshd I'm connecting to but nothing. I also upped the connect_timeout for SshMachine().
I see that files are being copied over to the tmp directory, so the connection is happening, But the files are copied over fairly quickly it seems (size = 580K). The time is always apx 2m16s before the timeout occurs.
I believe this is happening when server.classic_connect() tries to execute.
I have no firewall on these machines.
brian