X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fssh.py;h=7518cabcc3ce7123c8f9f28968d20b742c2cc2dd;hb=refs%2Fchanges%2F80%2F13480%2F6;hp=b570003aa88759e2bccb12be6a34f4421caee64a;hpb=efae5118e100d85938c8a69b974d3f45184f93c5;p=csit.git diff --git a/resources/libraries/python/ssh.py b/resources/libraries/python/ssh.py index b570003aa8..7518cabcc3 100644 --- a/resources/libraries/python/ssh.py +++ b/resources/libraries/python/ssh.py @@ -244,7 +244,7 @@ class SSH(object): command = 'sudo -S {c}'.format(c=command) return self.exec_command(command, timeout) - def interactive_terminal_open(self, time_out=30): + def interactive_terminal_open(self, time_out=45): """Open interactive terminal on a new channel on the connected Node. :param time_out: Timeout in seconds. @@ -325,7 +325,7 @@ class SSH(object): """ chan.close() - def scp(self, local_path, remote_path, get=False, timeout=10): + def scp(self, local_path, remote_path, get=False, timeout=30): """Copy files from local_path to remote_path or vice versa. connect() method has to be called first!