Skip to content
Snippets Groups Projects
Commit adb3fb60 authored by mads's avatar mads
Browse files

removed debug print

parent 098ccd55
No related branches found
No related tags found
2 merge requests!6Clustertools,!5Clustertools
......@@ -33,7 +33,6 @@ class SSHClient(object):
self.connect()
def connect(self):
print ("start connect")
self.client = paramiko.SSHClient()
self.client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
self.client.connect(self.host, self.port, username=self.username, password=self.password, pkey=self.key, timeout=self.TIMEOUT)
......@@ -41,7 +40,6 @@ class SSHClient(object):
self.transport = paramiko.Transport((self.host, self.port))
self.transport.connect(username=self.username, password=self.password)
self.sftp = paramiko.SFTPClient.from_transport(self.transport)
print ("End connect")
return self
def __exit__(self, *args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment