I am trying the default username and pass to ssh into the appliance with no sucess.
Using:
Username: root
Password: openvpnas
getting Access Denied
Can't login after deployment
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't login after deployment
Which appliance exactly are you referring to?
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Fri Mar 31, 2017 8:56 am
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't login after deployment
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.
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.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't login after deployment
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.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Fri Mar 31, 2017 8:56 am
Re: Can't login after deployment
Correct.
tty doesn't work either. That's how i got to the SSH.
tty doesn't work either. That's how i got to the SSH.
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't login after deployment
Pretty damn sure it works to log in to the console, because I tried it just now with a freshly deployed OVA; works.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.