Re: sftp with 2FA and password



Would it be feasible to use a shell script as a wrapper around mc - and pass the OTP through the shell script first, then call mc the normal way?

https://ubuntu.com/tutorials/configure-ssh-2fa#1-overview

HTH

Keith Roberts

On 07/02/2021 18:33, Michael Straube via mc wrote:
Hi,

I need to connect to a server that uses two factor authentication.
When I login from a terminal I first need to enter the OTP and then
my normal password.

I'm not able to get it working, mc only asks for a single password when
I try to connect. Is it even possible to login to a ssh/sftp server that
uses one-time-password 2FA?

Michael
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]