Skip to content

Commit

Permalink
fix #2398
Browse files Browse the repository at this point in the history
  • Loading branch information
heavenlwf committed Sep 12, 2019
1 parent 8acd2c3 commit a33f087
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/transport/sshconn.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def __init__(self, base_url, timeout=60,
pool_connections=constants.DEFAULT_NUM_POOLS):
self.ssh_client = paramiko.SSHClient()
self.ssh_client.load_system_host_keys()
self.ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())

self.base_url = base_url
self._connect()
Expand Down

0 comments on commit a33f087

Please sign in to comment.