Page 1 of 1

Can't login after deployment

Posted: Fri Mar 31, 2017 8:58 am
by dmargoi
I am trying the default username and pass to ssh into the appliance with no sucess.

Using:

Username: root
Password: openvpnas

getting Access Denied

Re: Can't login after deployment

Posted: Fri Mar 31, 2017 9:11 am
by novaflash
Which appliance exactly are you referring to?

Re: Can't login after deployment

Posted: Fri Mar 31, 2017 9:26 am
by dmargoi

Re: Can't login after deployment

Posted: Fri Mar 31, 2017 9:31 am
by novaflash
Right, okay. Use the console to log on.

Afterwards if you want to use the root account to SSH into the server, edit /etc/ssh/sshd_config and change the line with permitrootlogin without-password to yes, and save and exit. Set a decent password for the root account and restart the SSH service. Then you can use SSH.

Generally not a good idea to have SSH wide open with root login so that's why it's disabled by default, but console login will work. And if you want SSH root login, there's the way to do it. Enjoy.

Re: Can't login after deployment

Posted: Fri Mar 31, 2017 9:32 am
by novaflash
Forgot to add; probably better to just add a normal user account, use that to SSH in, and sudo up from there to root privileges.

Re: Can't login after deployment

Posted: Fri Mar 31, 2017 9:39 am
by dmargoi
Correct.

tty doesn't work either. That's how i got to the SSH.

Re: Can't login after deployment

Posted: Fri Mar 31, 2017 2:19 pm
by novaflash
Pretty damn sure it works to log in to the console, because I tried it just now with a freshly deployed OVA; works.