After logging into ssh, I got this message:
'Username' is not in the sudoers file. This incident will be reported.
How can I resolve this? I'm connecting ssh to my virtual private server.
Open file
sudo nano /etc/sudoers
Then add the user below admin user like below syntax.
user_name ALL=(ALL) ALL