def make_sshnode(test_case):
 server = create_ssh_server(FilePath(test_case.mktemp()))
 test_case.addCleanup(server.restore)
 return ProcessNode.using_ssh(host=unicode(server.ip).encode('ascii'), port=server.port, username='root', private_key=server.key_path)

def make_sshnode ( test_case ) : server = create_ssh_server ( FilePath ( test_case . mktemp ( ) ) ) test_case . addCleanup ( server . restore ) return ProcessNode . using_ssh ( host = unicode ( server . ip ) . encode ( 'ascii' ) , port = server . port , username = 'root' , private_key = server . key_path )
create a processnode that can ssh into the local machine .