How to setup for multi factor authentication
Opened this issue · 5 comments
I am trying to connect to a remote server with multi factor authentication. I tried all the available logon types and none of them worked. I keep getting the following error.
All configured authentication methods failed
Please let me know how I would be able to do it. Thank you.
Hi, I'm having a similar issue after my work decided to add 2-factor authentication. I'm going to see if I can implement this and then submit a pull request.
Apparently, certain vscode extensions have already implemented this: liximomo/vscode-sftp#119
Hello, has anyone figured this out yet? My institution also just implemented 2FA and I am unable to connect/reconfigure setting appropriately. Thanks for any help!
Hello, has anyone figured this out yet? My institution also just implemented 2FA and I am unable to connect/reconfigure setting appropriately. Thanks for any help!
Hi @mallorymaynes, I personally have just moved onto using Visual Studio Code's Remote - SSH extension. Maybe someday someone extremely passionate about Atom Editor will implement this functionality. In the meantime, I'll be using VSCode to get my work done.
I have this working with duo. On the server I am connecting to, the duo config has to automatically push the notification (i.e., it can't display a menu of options to the user -- autopush=yes if you are using pam_duo). For the ftp-remote-edit server setting I had to use Username/Prompt for password. Now when I try to open a remote edit session it prompts for my password, then I get the duo 2fa notification on my phone, then it logs me in.