Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
With all of the mandatory steps taken, I can’t ssh into my env. I get a Permission denied (publickey)
I wrote a blog about how to configurate Google Authenticator on CentOS7.3 & Deibian Jessie, I discussed different usage scenarios, eg: use it to login in GNOME Desktop, SSH remote connection (with ssh-kegen key or with password). Then I gived the specific parameters setting.
But it was written with Chinese (Traditional Chinese), maybe it will be difficult for people who have never learned Chinese.
Blog is Try To Use 2-Step Verification Google Authenticator On GNU/Linux
I’m getting Permission denied (keyboard-interactive) after Verification code entered
I had ssh key set, after google auth do I need another one?
Now I can’t enter into my server and that’s pretty huge problem.
How do I fix this?
Thank you for this ourstanding tutorial! I used it to secure the ssh-access of my server. Now I get access using keys and the google auth. Everything works fine except two things:
Is there a way to implement this on only the root user?
Reason : I am using Termius for my ssh client, but i want to have a nonroot user that has to remote in, and then change to the root user, so having the two-factor on the root user would dramatically increase security.
Just to let you know I use the steps from “How To Set Up Multi-Factor Authentication for SSH on Ubuntu 14.04” to setup it on Debian 8, work perfectly after I comment the line described below: on /etc/pam.d/sshd
# Standard Un*x authentication.
#@include common-auth <- Comment this line
This seems to also allow users who just use the google authenticator token to log in without an ssh key.
seapasulli at seapasullilaptop in ~ $ killall -9 ssh
seapasulli at seapasullilaptop in ~ $ ssh-add -D All identities removed.
seapasulli at seapasullilaptop in ~ $ ssh-add -L The agent has no identities.
seapasulli at seapasullilaptop in ~ $ ssh pxeb Warning: Permanently added ‘XXX.XXX.XXX.XXX’ (ECDSA) to the list of known hosts. Authenticated with partial success. Verification code: Last login: Fri Jul 28 09:34:06 2017 from XXX,XXX,XXX,XXX
lookcrabs@pxe:~$
I don’t know if this is better or worse than private key authentication currently but this is probably less secure than 2fa.
Greating writing!!! Straight forward howto with tons of detail. I’m using this to create a bastion host. I ran into an issue when automating this.
I had to change the authors command to get google-authenticator to allow authentication. I got the setting from the defaults of the prompt which are different from the no input command.
google-authenticator -t -d -f -r 3 -R 30 -W
to
google-authenticator -t -d -f -r 3 -R 30 -w 17
The change adds 50124339 to " DISALLOW_REUSE