Re: sftp with 2FA and password

2021-02-08 Thread Michael Straube via mc
Thank you both for your replies. Unfortunately I did not get it working. For now I will stay with plain sftp command to copy files to the server from the command line. Michael ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc

Re: sftp with 2FA and password

2021-02-07 Thread Keith Roberts
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

sftp with 2FA and password

2021-02-07 Thread Michael Straube via mc
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