Add a ntoe about the importance of askpass

This commit is contained in:
Kovid Goyal 2022-03-14 16:44:12 +05:30
parent 2a50203fcd
commit 942881d1b7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -108,10 +108,14 @@ The login shell to execute on the remote host. By default, the remote user accou
login shell is used.''')
opt('askpass', 'unless-set', long_text='''
Control the program SSH uses to ask for passwords or confirmation of host keys etc.
The default is to use kitty's native askpass, unless the SSH_ASKPASS environment variable
is set. Set it to :code:`ssh` to not interfere with the normal ssh askpass mechanism at all,
which typically means that ssh will prompt at the terminal. Set it to :code:`native` to always use
kitty's native, built-in askpass implementation.
Control the program SSH uses to ask for passwords or confirmation of host keys
etc. The default is to use kitty's native askpass, unless the SSH_ASKPASS
environment variable is set. Set it to :code:`ssh` to not interfere with the
normal ssh askpass mechanism at all, which typically means that ssh will prompt
at the terminal. Set it to :code:`native` to always use kitty's native,
built-in askpass implementation. Note that not using an askpass implementation
means that SSH needs to use the terminal before the connection is established
so the kitten cannot use the terminal to send data without an extra roundtrip,
adding to initial connection latency.
''')
egr() # }}}