You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i always have to enter additional login credentials when connecting to a FreeBSD box via ssh using challenge response auth, although i saved the password. Debug log with username and hostname replaced by USER and HOSTNAME, respectively:
May 27 16:46:55 static048 Cyberduck[36143]: [background-6] DEBUG net.schmizz.concurrent.Promise - Setting <<service accept>> to `null`
May 27 16:46:55 static048 Cyberduck[36143]: [background-6] DEBUG net.schmizz.sshj.transport.TransportImpl - Sending SSH_MSG_SERVICE_REQUEST for ssh-userauth
May 27 16:46:55 static048 Cyberduck[36143]: [background-6] DEBUG net.schmizz.concurrent.Promise - Awaiting <<service accept>>
May 27 16:46:55 static048 Cyberduck[36143]: [reader] DEBUG net.schmizz.concurrent.Promise - Setting <<service accept>> to `SOME`
May 27 16:46:55 static048 Cyberduck[36143]: [background-6] DEBUG net.schmizz.sshj.transport.TransportImpl - Setting active service to ssh-userauth
May 27 16:46:55 static048 Cyberduck[36143]: [background-6] DEBUG net.schmizz.concurrent.Promise - Setting <<authenticated>> to `null`
May 27 16:46:55 static048 Cyberduck[36143]: [background-6] DEBUG net.schmizz.sshj.userauth.UserAuthImpl - Trying `keyboard-interactive` auth...
May 27 16:46:55 static048 Cyberduck[36143]: [background-6] DEBUG net.schmizz.concurrent.Promise - Awaiting <<authenticated>>
May 27 16:46:55 static048 Cyberduck[36143]: [reader] DEBUG net.schmizz.sshj.userauth.UserAuthImpl - Asking `keyboard-interactive` method to handle USERAUTH_60 packet
May 27 16:46:55 static048 Cyberduck[36143]: [reader] DEBUG net.schmizz.sshj.userauth.method.AuthKeyboardInteractive - Requesting response for challenge `Password for USER@HOSTNAME:`; echo=false
May 27 16:46:55 static048 Cyberduck[36143]: [reader] DEBUG ch.cyberduck.core.sftp.auth.SFTPChallengeResponseAuthentication - Reply to challenge name with instruction
May 27 16:46:55 static048 Cyberduck[36143]: [reader] DEBUG ch.cyberduck.ui.cocoa.callback.PromptLoginCallback - Prompt for credentials for USER
May 27 16:46:55 static048 Cyberduck[36143]: [main] INFO ch.cyberduck.binding.BundleController - Loading bundle Login
I assume the password prompt (Password for USER@HOSTNAME:) is not recognized by the DEFAULT_PROMPT_PATTERN in SFTPChallengeResponseAuthentication.java.
Linux hosts work fine having a login prompt like "USER@HOSTNAME's password:".
latest snapshot does not fix the issue.
Linux hosts previously worked since all my Linux boxes have challenge/response disabled in their sshd.conf. Once switched on, the same problem occurs as on FreeBSD where challenge/response is enabled by default.
Please review my trivial patch for SFTPChallengeResponseAuthentication.java. It extends DEFAULT_PROMPT_PATTERN. I have success connecting to various versions of (Open)sshd.
Hi,
i always have to enter additional login credentials when connecting to a FreeBSD box via ssh using challenge response auth, although i saved the password. Debug log with username and hostname replaced by USER and HOSTNAME, respectively:
I assume the password prompt (Password for USER@HOSTNAME:) is not recognized by the DEFAULT_PROMPT_PATTERN in SFTPChallengeResponseAuthentication.java.
Linux hosts work fine having a login prompt like "USER@HOSTNAME's password:".
Any change to fix this?
BR Felix
Attachments
SFTPChallengeResponseAuthentication.patch
(0.9 KiB)The text was updated successfully, but these errors were encountered: