From 7a24f44418bc4ecdf81f042e6bb640d04dba4479 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Mon, 9 Nov 2009 20:34:34 +0000 Subject: [PATCH] try looking for a shorter prompt initially, since local admin reports that this is typical behavior of the pcu. --- pcucontrol/models/BayTech.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcucontrol/models/BayTech.py b/pcucontrol/models/BayTech.py index b4bf71d..fecabd6 100644 --- a/pcucontrol/models/BayTech.py +++ b/pcucontrol/models/BayTech.py @@ -28,7 +28,7 @@ class BayTechGeorgeTown(PCUControl): return self.run_ssh(node_port, dryrun) def run_ssh(self, node_port, dryrun): # NOTE: The georgetown pcu always drops the first connection, - self.transport.open(self.host, self.username, None, "Enter user name:") + self.transport.open(self.host, self.username, None, "Enter") self.transport.close() time.sleep(1) self.transport.open(self.host, self.username, None, "Enter user name:") -- 2.43.0