Ticket #3921 (new defect)

Opened 8 months ago

Last modified 8 months ago

support sftp keyborad interactive authentication

Reported by: adamm Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

When SSH server has cleartext password authentication disabled and only "keyboard-interactive" authentication enabled, then connection will fail. This happens with following sshd_config parameter,

PasswordAuthentication? no

And you can see these authentication methods with ssh -v hostname

libssh2_userauth_password only allows for Passoword authentication

libssh2_userauth_keyboard_interactive needs to be used for keyboard interactive authentication.

Attachments

sftp_ip.patch (3.7 KB) - added by adamm 8 months ago.

Change History

comment:1 Changed 8 months ago by adamm

Updated patch so it doesn't produce compile time warnings about unused parameters.

Changed 8 months ago by adamm

Note: See TracTickets for help on using tickets.