Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [two-factor-authentication]

Two factor authentication uses two different pieces of information to prove a person's identity.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Avoiding Google Authenticator Re-Authentication for Existing SSH Sessions on EC2

I've configured Google Authenticator for 2FA on my Almalinux 9 EC2 instance to secure SSH access. However, I'm prompted for the Google Authenticator code every time I open a new SSH session, even when ...
Dhanushka Ekanayake's user avatar
1 vote
0 answers
50 views

Windows 11 2FA prompt opens a console instead of a GUI window

Some time ago, I started using FIDO2 keys (Yubikey 5 NFC, to be precise) as a form of second-factor authentication on a few sites that support it. However, after some change in my system, most likely ...
Paweł Bulwan's user avatar
0 votes
0 answers
45 views

Is there a way to set up 2FA for login to my Windows system? [duplicate]

I have Windows professional and am not on a domain. I'd like this for RDP on my desktop and for login & RDP on my laptop. In response to a comment below - I want 2FA logging into my laptop. So if ...
David Thielen's user avatar
1 vote
2 answers
2k views

Using oathtool instead of Microsoft Authenticator

I have enabled 2FA on my outlook account (microsoft). It asked me to download the Microsoft Authenticator app and gave me a 9 digit number, e.g. '123456789'. I wouldn't like to use the MS app, can I ...
ellat's user avatar
  • 23
0 votes
0 answers
1k views

How to use mobaxterm with 2 factor authentication (Authenticator app)

I would like to use mobaxterm with 2 factor authentication (needed for the jump server). I.e. the jump server asks for approval from the Microsoft authenticator ( after logging in with the normal ...
Alexander Cska's user avatar
1 vote
1 answer
494 views

Ubuntu Nautilus sftp to server that has 2fa on is not working

I can ssh to a server that has 2FA, but I can't access it through Ubuntu (20.04) nautilus sftp. sftp://hostname.com or sftp://[email protected] results in time out, adding port 22 does not help. All I ...
user43280's user avatar
3 votes
2 answers
22k views

Can I use the Google Authenticator (OTP) app on my PC?

Sometimes it can be a little annoying to check the mobile app to access a regular website. Is it possible to use an OTP authenticator app that can be used on both mobile and PC?
yum's user avatar
  • 31
0 votes
1 answer
75 views

Deactivation of the possibility to deactivate 2FA via rescue mode (linux)

Tests 2FA solution for login verification via google PAP module I have read that this can be easily switched off via rescue mode. Is it possible to disable this solution in case someone has physical ...
Santa Monica's user avatar
1 vote
0 answers
736 views

How to set 2FA for Windows Remote Desktop login

How can I configure Windows on my laptop to require 2FA (preferably via authenticate) when connecting via Remote Desktop. I have a workgroup login. So not a domain login. And not a Microsoft login. (...
David Thielen's user avatar
2 votes
1 answer
751 views

Disable 2FA for phpMyAdmin through terminal

I set up 2FA for logging into phpMyAdmin but the token was deleted from my phone. Now I can't log into my database because it's requiring a code that I no longer have access to. I've accessed mysql ...
Dom's user avatar
  • 21
1 vote
1 answer
710 views

Change to force Windows 11 RDP login to use Authenticator app

I want to login to my Windows 11 server using RDP, but I want to force the login to use Microsoft Authenticator app, my account is not a school or work, it is a personal account.
Khaled Saad's user avatar
1 vote
0 answers
39 views

Authentication App versus SMS Message for Two Factor Authentication

Some accounts I've seen offer Two Factor Authentication using an SMS message or an authenticator application. Are one of these options more secure than the other or are they equal?
Rich's user avatar
  • 413
1 vote
0 answers
347 views

Additional authentication after using Windows Hello logon

A client uses Windows 10 laptops linked to Microsoft 365/Azure for authentication. They use Windows Hello and therefore can logon and/or unlock using password, PIN, fingerprint or face. The laptop ...
munrobasher's user avatar
1 vote
1 answer
4k views

How to reconfigure gmail in Outlook after setting up 2FA?

On May 30, 2022 Google blocked Outlook from being able to connect to Gmail accounts unless 2FA is enabled. So I have enabled 2FA just now on my gmail account, and my Outlook-connected gmail account ...
HerrimanCoder's user avatar
1 vote
1 answer
2k views

Outlook profile keeps asking for password but 2FA doesn't appear

I have my 365 account signed in to windows and when I initially signed it in to Outlook it asked to verify me by my 2factor app from Microsoft but now it's been a while and I just changed my password, ...
Nic G's user avatar
  • 13
0 votes
0 answers
2k views

Locked out of my NAS - 2FA codes don't work while I'm abroad

I'm currently abroad. I have my Synology NAS set up in my apartment. While still there I set up a 2FA on it for my admin account. I remember a while back when I was trying to log in to it, it didn't ...
c00000fd's user avatar
  • 557
1 vote
1 answer
2k views

Use KeePass to generate AWS MFA codes (TOTP / Time-Based One-Time Password)

We use in our team KeePass to store the credentials and the MFA secret key of AWS account root users. Is it possible to use KeePass to directly generate the AWS MFA codes (TOTP / Time-Based One-Time ...
Patrick's user avatar
  • 121
-1 votes
1 answer
312 views

Better understanding 2FA

Why does 2FA fail unless geo-location is enabled system wide ? Solutions offered ( https://debiankalilinuxtips.substack.com/p/automatic-datetime-sync ) for date/time sync do not resolve 2fa requiring ...
t09's user avatar
  • 3
1 vote
0 answers
82 views

Google Authenticator infinite loop on bugs.mojang.com

Yesterday I added a comment to a page on https://bugs.mojang.com which required me first to set up 2FA, which was easy because they provided a QR code which I used to add an entry in Google ...
Nathan's user avatar
  • 11
1 vote
2 answers
5k views

How to do automatic 2FA with SSH/SCP on Windows (ideally using PuTTY+WinSCP)?

I am on Windows 10 using PuTTY and WinSCP to SSH/SCP into a linux server that has two-factor authentication (2FA). Each time I log in, it asks for my password and a verification code. I am curently ...
rhombidodecahedron's user avatar
1 vote
1 answer
787 views

How can I get persistent authentication with ssh and dual-factor?

I am trying to make the inevitable transition to dual-factor authentication as painless as possible for admins and developers. One stumbling block is the need to enter the second factor each time the ...
Stephen Carville's user avatar
0 votes
0 answers
85 views

location-based multi-factor authentication for Windows 10 login with a local account

I'm looking to enable MFA for login to my Windows 10 laptop, which I use with a local account (no microsoft login). However, 90% of my use is at home, where I don't want to be required to plug in a ...
meeotch's user avatar
0 votes
1 answer
290 views

AWS MFA does not work with Authy desktop

I have authy installed on Ubuntu 20.04.2. On my IAM user page I click on the Manage link and Virtual MFA device. I copy the secret key. In Authy I click + to add an account and copy the secret key ...
Dean Schulze's user avatar
0 votes
2 answers
9k views

Microsoft Authenticator Accounts Can They Be Shared?

I am wondering if these scenarios are possible. Have the same authenticator app on multiple phones. Say my bank has 2FA and I am using the authenticator app, can I have the "account" tied ...
chobo2's user avatar
  • 1,949
12 votes
3 answers
7k views

How to set up Google 2FA with third party OTP app

I have a Google account with one of the organisations I volunteer for. They have recently taken the decision to require 2FA for all account sign-ins. Google's 2FA enrolment process requires one of (a) ...
Kitserve's user avatar
  • 123
0 votes
1 answer
87 views

How can different 2fa authenticators work for the same app service?

I encountered this registration process online where I received a QR code, and the instructions said to "use any authenticator app, like Google Authenticator or Authy". I was surprised to ...
Nomenator's user avatar
  • 155
0 votes
1 answer
2k views

Using 2FA with Exchange Online Plan 1

I am looking to help someone purchase Exchange Online Plan 1 (EOP1) and I want to have them use Two Factor Authentication (2FA). I am getting mixed messages from Microsoft and other resources when I ...
DByte's user avatar
  • 7
0 votes
1 answer
4k views

Locked out of my outlook.com email that had 2 step verification on

I have a Microsoft Outlook.com email address, and I had 2 step verification on. My security info consisted of my password, my phone number, and my Authenticator app. I had forgotten my password since ...
Jay Shah's user avatar
  • 101
0 votes
2 answers
384 views

How to identify why two-factor SMS messages are never received from certain websites

I have accounts with three financial websites which only offer two-factor authentication codes to be sent via text message or phone call, but when I request codes via text message, the messages are ...
Employee's user avatar
  • 233
0 votes
0 answers
340 views

FIDO2 Keys / Windows Hello - Disable password signin

Is it possible to force a user to use a FIDO2 key to sign in with Windows 10? Currently, it appears to be a secondary option (along side the standard password option).
Beakie's user avatar
  • 111
2 votes
1 answer
4k views

Is it possible to use Samba with 2FA

Do you know of any way on how to secure samba shares with 2FA in Linux server for Windows clients? I have set up several windows 10 clients and one linux server. The linux server is reachable via ...
Mike's user avatar
  • 21
1 vote
1 answer
395 views

What kind of security do authenticator apps use to protect the seed?

I'm not 100% sure if this question is supposed to be here or in Cryptography forum, but I'll try anyway. I would like to have some idea as to how software authenticator apps such as Google ...
Proto Ukr's user avatar
  • 125
3 votes
2 answers
41k views

How to reset MFA for my Office 365 account?

When logging in as an Office365 Admin, the user can change his own MFA settings including Authenticator App and Phone numbers (Under Additional security verification) However, this option is not ...
Moslem Ben Dhaou's user avatar
0 votes
1 answer
1k views

Token-based, single-factor LUKS full disk encryption

We're building a Linux-based system that will be located at our customer's site and operated by our customer. We want all data on that system to be encrypted so if it gets stolen the data is still ...
Johannes Bauer's user avatar
1 vote
3 answers
11k views

O365 - Multifactor Auth - Access Authentication Phone via Powershell

Is is possible to get/set Authentication Phone via Powershell? I found some old documentation that says this is possible via the old MSOnline module but I cannot find anything in the new AzureAD ...
ExceptionLimeCat's user avatar
1 vote
0 answers
94 views

How to authenticate linux machine (Multifactor authentication) using command line?

sshpass is used to authenticate linux machine through command line. Likewise do we have any tool to authenticate linux machine of MFA through command line.
Bharani Dharan's user avatar
3 votes
1 answer
2k views

Given a QR code for a TOTP secret, how would I format an argument to openconnect so that I didn't get prompted for a challenge / response

I have a QR code for setting up, say google authenitcator to generate TOTP codes. I've viewed the text value of the QR code and it looks like: otpauth://totp/<user>@<host>?secret=...
Matt Fellows's user avatar
5 votes
2 answers
13k views

FileZilla keeps asking me for password and verification code

Yesterday I secured my VPS (Ubuntu 18.04) with two-factor authentication (Google Authenticator). I used this tutorial to achieve this. When I tried to login to my VPS with SSH (I'm using PuTTY), it ...
manaszon's user avatar
  • 181
0 votes
0 answers
75 views

How do I turn off Gmail application passwords?

I've got the other 2FA choices turned on - Google app ping on my phone, Google Authenticator App, SMS... but I'm still stuck with creating app passwords for desktop email programs. I had to activate ...
Dito's user avatar
  • 61
0 votes
2 answers
4k views

Extracting private key from PIV card

I can get the public key out of my PIV card (using PuTTy) but I am unable to get the private key, which I would like to emulate the card by running Pageant. Is there any way to get the private key out ...
amphibient's user avatar
  • 2,183
0 votes
3 answers
7k views

Can I user CAPI 2-factor authentication in MobaXterm?

I am needing to do some work on Linux servers that require 2-factor authentication using a PIV card. The instructions I was given are based on PuTTy-CAC but I woild like to use MobaXterm. I wasn't ...
amphibient's user avatar
  • 2,183
1 vote
1 answer
37 views

App for setting up 2FA for the same account on different mobile phones? [closed]

At work I manage several online accounts together with my colleague. 2FA set up on a mobile is useful as security but causes issues for us because we cannot access the same accounts without 'helping' ...
Maja 's user avatar
  • 11
1 vote
2 answers
9k views

Why do I keep getting "Authentication Failed" on Github when running through the Win10 Linux subsystem?

I'm on a machine running Windows 10, with Developer Mode enabled and the Linux Subsystem installed. When I switch into bash, I am trying to run a simple clone command from git: git clone https://...
soapergem's user avatar
  • 1,698
7 votes
3 answers
9k views

Increase security for remote desktop machine - use 2FA and/or limit to LAN connection only?

I'm looking at setting up Windows remote desktop on a W10 Pro machine. I'd like to increase the security on the connection and wonder if any of the following are possible: A password, different from ...
sam's user avatar
  • 4,199
-1 votes
1 answer
260 views

Automate VPN with Two Factor Auth

We use a VPN client that takes a google auth code as password. Due to industry regulations for payment cards we need to re-auth every 30 minutes. This is an interruption to work flow and I am ...
Paul Cathey's user avatar
1 vote
2 answers
60 views

How to obviate loosing access when using two-factor-authentication

Sorry if this question is a duplicate. I searched some hours but could not find any satisfying solution for the following problem. I am using a two-factor-authentication-app (in my case Google ...
anion's user avatar
  • 175
2 votes
1 answer
5k views

How to backup 2FA Google Authenticator [closed]

I'm using Google Authenticator for 2FA (2-factor-authentication) on several sites. Now what if I lose my Iphone? Than they're gone. Is there a save way to backup 2FA? I read about authy but it seems ...
lvthillo's user avatar
  • 153
2 votes
2 answers
5k views

How do I setup Evolution to work with two factor authentication in Gmail?

I have multiple gmail accounts that don't use two-factor auth and these work perfectly with Evolution. The setup wizard pre-populates all the required settings. I'm having trouble with a Gmail account ...
LaserJesus's user avatar
2 votes
1 answer
604 views

Automatize One-Time-Password Authentication

It is possible to login to remote host without password, i.e., ssh-copy-id <host>. However, I need to enter One-Time Password (OTP) every time I log into a remote host. How can I skip this OTP ...
Kadir's user avatar
  • 145
0 votes
1 answer
544 views

Gitlab - Login when enable Two-Factor Authentication on window

I have enable Two-Factor Authen in gitlab, everytime I do git push a box below show and I cannot login, no input for enter 2FA code. Now I turn 2FA off for continue work. How to login when enable ...
nguyên's user avatar
  • 121