-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support OpenSSH's BatchMode option #224
Labels
Comments
A not-so-nice workaround until support for disabling password authentication is added to dbclient:
This is 'dirty' since the server will register this as a failed password authentication attempt if public key authentication fails. |
stokito
added a commit
to stokito/dropbear
that referenced
this issue
Dec 24, 2023
The BatchMode same as PasswordAuthentication=no but it has more priority. So you can't re-enable the PasswordAuthentication like in: dbclient -v -o BatchMode=yes -o PasswordAuthentication=yes example.com It also disables the interactive confirmation when a host key changed. Close mkj#224
stokito
added a commit
to stokito/dropbear
that referenced
this issue
Dec 24, 2023
The BatchMode same as PasswordAuthentication=no but it has more priority. So you can't re-enable the PasswordAuthentication like in: dbclient -v -o BatchMode=yes -o PasswordAuthentication=yes example.com It also disables the interactive confirmation when a host key changed. Close mkj#224
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful for scripting and not getting stuck on a password prompt (in case a key has not been configured correctly on the side of the client or server).
From ssh_config(5):
Example usage:
The text was updated successfully, but these errors were encountered: