Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Why am i getting locked out of Vestacp after disabling root SSH access?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
conneXions
Posts: 5
Joined: Thu Feb 18, 2016 3:18 pm

Why am i getting locked out of Vestacp after disabling root SSH access?
  • Quote

Post by conneXions » Thu Feb 18, 2016 4:54 pm

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!
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Why am i getting locked out of Vestacp after disabling root SSH access?
  • Quote

Post by tjebbeke » Thu Feb 18, 2016 6:25 pm

when you execute v-list-users the new created user is listed there?
Top

conneXions
Posts: 5
Joined: Thu Feb 18, 2016 3:18 pm

Re: Why am i getting locked out of Vestacp after disabling root SSH access?
  • Quote

Post by conneXions » Sat Feb 20, 2016 2:18 am

tjebbeke wrote:when you execute v-list-users the new created user is listed there?
nope. only 'admin'
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?
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: Why am i getting locked out of Vestacp after disabling root SSH access?
  • Quote

Post by mike08 » Sat Feb 20, 2016 4:26 pm

Well, I just disabled ssh on my server and that didn't brake anything. Try

Code: Select all

v-change-user-password admin new_password
And then login again to see if it works.
Regards,
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Why am i getting locked out of Vestacp after disabling root SSH access?
  • Quote

Post by tjebbeke » Sun Feb 21, 2016 9:17 am

Use v-add-user to add the user in vesta or login as admin.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password