def init_ssh_client(self):
self.log.debug("SSHProtocol: Initializing the destination transport")
self.destt = paramiko.Transport(self.destination)
try:
self.destt.start_client()
except paramiko.SSHException:
self.log.error("*** SSH negotiation failed.")
return
评论列表
文章目录