Why am i getting locked out of Vestacp after disabling root SSH access?
-
- Posts: 5
- Joined: Thu Feb 18, 2016 3:18 pm
Why am i getting locked out of Vestacp after disabling root SSH access?
Hello all,
After noticing intrusion attempts via SSH at my newly setup centOS 6 server with vestacp,
I decided to 'harden up' my server.
I have just done only the basics -
1) changing initial root password
2) create a newuser + set newuser password
3) give newuser ALL privileges
4) disable root SSH access
Everything seemed to be working fine after that.
I can SSH login (using Putty) into my server using newuser credentials and do the sudo thingy.
But when I tried to web login into vestacp I got a 'Invalid username or password' message.
I tried to reset password but that didn't work.
I tried using new root password but didn't work either.
I also tried newuser credentials but no joy there.
Any suggestion?
Thanks in advance!
After noticing intrusion attempts via SSH at my newly setup centOS 6 server with vestacp,
I decided to 'harden up' my server.
I have just done only the basics -
1) changing initial root password
2) create a newuser + set newuser password
3) give newuser ALL privileges
4) disable root SSH access
Everything seemed to be working fine after that.
I can SSH login (using Putty) into my server using newuser credentials and do the sudo thingy.
But when I tried to web login into vestacp I got a 'Invalid username or password' message.
I tried to reset password but that didn't work.
I tried using new root password but didn't work either.
I also tried newuser credentials but no joy there.
Any suggestion?
Thanks in advance!
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Why am i getting locked out of Vestacp after disabling root SSH access?
when you execute v-list-users the new created user is listed there?
-
- Posts: 5
- Joined: Thu Feb 18, 2016 3:18 pm
Re: Why am i getting locked out of Vestacp after disabling root SSH access?
nope. only 'admin'tjebbeke wrote:when you execute v-list-users the new created user is listed there?
USER PACKAGE U_DISK U_BANDWIDTH SUSPENDED DATE
--------- --------- --------- --------- --------- ---------
admin default 18 2 no 2016-02-09
I've tried re-enabling root SSH access but that didn't work either.
I mean I can have root SSH access again but still cannot login into Vestacp.
any other suggestions?
Re: Why am i getting locked out of Vestacp after disabling root SSH access?
Well, I just disabled ssh on my server and that didn't brake anything. Try
And then login again to see if it works.
Regards,
Code: Select all
v-change-user-password admin new_password
Regards,
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Why am i getting locked out of Vestacp after disabling root SSH access?
Use v-add-user to add the user in vesta or login as admin.