SOLVED!! Thank you donho! full credits to him.
So another step to prevent hacking is to set up another layer of 2FA straight into Ubuntu.
http://www.howtogeek.com/121650/how...gle-authenticators-two-factor-authentication/
Did exactly as this tutorial says, worked great. But, final step is
And Google Auth really does ask for the token, which works. But THEN it asks for the password .. what password? The user password, that for EC2 masternoders should be "ubuntu". So lets create one
I read a post from donho, you have to edit sshd_config; which also fixed an issue...
and add this;
DO NOT ATTEMPT THIS without a few shells open so you dont accidentally lock yourself out!
To make edits into effect
to test, do
So another step to prevent hacking is to set up another layer of 2FA straight into Ubuntu.
http://www.howtogeek.com/121650/how...gle-authenticators-two-factor-authentication/
Did exactly as this tutorial says, worked great. But, final step is
sudo service ssh restart
And Google Auth really does ask for the token, which works. But THEN it asks for the password .. what password? The user password, that for EC2 masternoders should be "ubuntu". So lets create one
- press enter and will prompt to give user "ubuntu" a password, twice to confirm. You can issue the same command to change it.sudo passwd ubuntu
I read a post from donho, you have to edit sshd_config; which also fixed an issue...
sudo nano /etc/ssh/sshd_config
and add this;
AuthenticationMethods publickey,keyboard-interactive
DO NOT ATTEMPT THIS without a few shells open so you dont accidentally lock yourself out!
To make edits into effect
sudo service ssh restart
to test, do
ssh localhost
Last edited by a moderator: