Restart Ubuntu from SSH

I'm connected through SSH to a machine running Xubuntu, where I'm not sudoed. I would like to somehow restart the OS there, because I'm having troubles with Remote Desktop access to the same machine, hopefully that fixes it.

What could I do, and how?

I'm running Ubuntu on Windows 10 to SSH.

6

1 Answer

I don't think there is a way to reboot a system without sudo or physical access. However, I think you can reboot from a GUI. If you are using x11 on the server, first enable x11 forwarding in your ssh config file. Then you can follow this guide on your windows machine and it should work. You might need to install the xauth package so that might be a problem if you don't have sudo access.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like