Re: sftp with 2FA and password

Keith Roberts <[email protected]>
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
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
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.