my $sftp = Net::SFTP::Foreign->new(..., more => [-o => 'PreferredAuthentications=keyboard-interactive']);