Jump to content

How do i remote restart Linux PC using powershell?

CGameDev

Hello guys, I was wondering if anyone can point me in the right direction? I have a Linux/Ubuntu pc on my network. Is there a way to reboot or restart then from my surface pro using power shell?

Link to comment
Share on other sites

Link to post
Share on other sites

Powershell should have OpenSSH included and assuming SSH is enabled on the GNU/Linux client do:

ssh user@ip
reboot

Depending on permissions you may have to sudo reboot.

Link to comment
Share on other sites

Link to post
Share on other sites

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

×