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?


Keith Roberts

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

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?

mc mailing list

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