From 942881d1b75a6cd1e78e914b46bfc6a4be9b2ab4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 14 Mar 2022 16:44:12 +0530 Subject: [PATCH] Add a ntoe about the importance of askpass --- kittens/ssh/options/definition.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/kittens/ssh/options/definition.py b/kittens/ssh/options/definition.py index a2f706605..a71318711 100644 --- a/kittens/ssh/options/definition.py +++ b/kittens/ssh/options/definition.py @@ -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() # }}}