How to allow SSH for your myVesta admin account

Post Reply
User avatar
isscbta
Team Member
Posts: 130
Joined: Mon Jul 19, 2021 1:41 am
Has thanked: 15 times
Been thanked: 3 times

On some specific myVesta installations, as security measure, 'admin' user is not allowed to log in via SSH.

To enable it, in your SSH, as root, run:

Code: Select all

sed -i "s|DenyUsers admin|# DenyUsers admin|g" /etc/ssh/sshd_config
service sshd restart
To allow root password authentication via SSH and set the root password to match the password for the admin account - run:

Code: Select all

v-commander 'enable-ssh-root-password-login' 'q'

Tags:
Post Reply