We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 552468a commit 9fa2548Copy full SHA for 9fa2548
1 file changed
ted_sws/notice_publisher/adapters/sftp_notice_publisher.py
@@ -34,7 +34,7 @@ def connect(self):
34
35
ssh_client = paramiko.SSHClient()
36
ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
37
- ssh_client.connect(self.hostname, username=self.username, password=self.password,
+ ssh_client.connect(self.hostname, username=self.username,
38
pkey=self.private_key, port=self.port)
39
self._ssh = ssh_client
40
self._sftp = ssh_client.open_sftp()
0 commit comments