Skip to content

Commit e7ce44a

Browse files
authored
add doc to deprecate password (#180)
resolve #179
1 parent 793a7d5 commit e7ce44a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dpdispatcher/ssh_context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ def sftp(self):
155155
def arginfo():
156156
doc_hostname = 'hostname or ip of ssh connection.'
157157
doc_username = 'username of target linux system'
158-
doc_password = 'password of linux system'
158+
doc_password = ('(deprecated) password of linux system. Please use '
159+
'`SSH keys <https://www.ssh.com/academy/ssh/key>`_ instead to improve security.')
159160
doc_port = 'ssh connection port.'
160161
doc_key_filename = 'key filename used by ssh connection. If left None, find key in ~/.ssh or ' \
161162
'use password for login'

0 commit comments

Comments
 (0)