X-Git-Url: http://git.onelab.eu/?p=pcucontrol.git;a=blobdiff_plain;f=pcucontrol%2Ftransports%2Fssh%2Fpxssh.py;fp=pcucontrol%2Ftransports%2Fssh%2Fpxssh.py;h=7cf33101d3085eeb1da9aeb26ae06a2affbc4c2c;hp=c73079b9459c811d920273c0bd53af073e8d0976;hb=0dcdc23769191b843716096f97b14b8e06362643;hpb=dd516e0f7a0f19fbc20204be8acca09687919db9 diff --git a/pcucontrol/transports/ssh/pxssh.py b/pcucontrol/transports/ssh/pxssh.py index c73079b..7cf3310 100644 --- a/pcucontrol/transports/ssh/pxssh.py +++ b/pcucontrol/transports/ssh/pxssh.py @@ -51,7 +51,7 @@ class pxssh (spawn): more unique. If that still fails then we return False. """ cmd = "ssh %s -l %s %s" % (ssh_options, username, server) - print cmd + #print cmd spawn.__init__(self, cmd, timeout=login_timeout) #, "(?i)no route to host"]) i = self.expect(["(?i)are you sure you want to continue connecting", original_prompts, "(?i)password", "(?i)permission denied", "(?i)terminal type", TIMEOUT, "(?i)connection closed by remote host"])