Jump to content

Recommended Posts

Posted

I'm not sure what the question is here...you appear to have answered yourself. You use exactly that...sudo <command> is used to run <command> with root permissions. If you want to switch to a root shell so you can run multiple commands as root, sudo su is what you're looking for.

My suggestion would be to use a regular SSH client like openssh or putty instead of VS Code to work with this. It's completely possible some of your issues are related to the fact you're using vscode to try and control the VPS. The expectation on our end is that you have a normal terminal to work with, we don't know what vscode can do with SSH as we do not use it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...