I have set up google two factor authentication on my local machine. So when I do :
I need to verify the code along with password. But when I try to connect to my Ec2 instance like so :
ssh -i mykey.pem firstname.lastname@example.org
It just asks for the password (here is no second factor). How could I provide the password along with the verify code that I see in my google app.
Thanks in advance.