Skip to content

Commit

Permalink
using auto add only for sftp host
Browse files Browse the repository at this point in the history
  • Loading branch information
dwr-psandhu committed Dec 7, 2024
1 parent fe5a5ee commit c9a706e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dms_datastore/download_cimis.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, base_dir=".", password="xxx"):
# Create an SSH client
ssh = paramiko.SSHClient()
# Load system SSH keys
ssh.load_system_host_keys()
# ssh.load_system_host_keys()
# Add the server's SSH key automatically if missing
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
# Connect to the server
Expand Down

0 comments on commit c9a706e

Please sign in to comment.