[Cyberduck-trac] [Cyberduck] #10337: sftp password login on FreeBSD

Cyberduck trac at cyberduck.io
Sun May 27 16:43:14 UTC 2018


#10337: sftp password login on FreeBSD
-------------------------+-------------------------------------------------
    Reporter:  fogris    |      Owner:
        Type:  defect    |     Status:  new
    Priority:  normal    |  Milestone:
   Component:  sftp      |    Version:  6.5.0
    Severity:  normal    |   Keywords:  FreeBSD ssh sftp password challenge
                         |  repsonse
Architecture:  Intel     |   Platform:  macOS 10.13
-------------------------+-------------------------------------------------
 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:

 {{{
 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 at 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 at HOSTNAME:'') is not
 recognized by the DEFAULT_PROMPT_PATTERN in
 SFTPChallengeResponseAuthentication.java.
 Linux hosts work fine having a login prompt like "USER at HOSTNAME's
 password:".

 Any change to fix this?

 BR Felix

--
Ticket URL: <https://trac.cyberduck.io/ticket/10337>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list