ssh2 icon indicating copy to clipboard operation
ssh2 copied to clipboard

Allow passwords to be sent as the callback to a 'password' event.

Open cintolas opened this issue 4 years ago • 1 comments

We use the SSH client as a way to authenticate users to a web server The users are on a remote machine.

This is similar to keyboard-interactive, but for passwords only. Some systems have ChallengeResponse disabled, and PasswordAuthentication enabled in sshd

Password prompt allows us to proxy over their remote connections and use SSH over the web in the same manner you would if you had a desktop ssh connection.

This is helpful if you are using multiple authMethods (privateKey, keyboardInteractive, password). You only want to prompt for the password once it is needed.

cintolas avatar Dec 13 '21 13:12 cintolas

The same effect can already be achieved by using a custom authHandler.

mscdex avatar Dec 13 '21 15:12 mscdex