Easy way to shut down Ubuntu remotely

Ockie

Resident Lead Bender
Joined
Feb 16, 2008
Messages
55,114
Reaction score
7,335
Location
Henceforth AKA OckieMoto :-)
Hi guys. Is there a way to shut down a Ubuntu PC remotely with another laptop that is connected to the same wifi network?

I have tried the ssh username@IP sudo poweroff thing but does not work. I get a connection refused error. Is there not some graphical UI interface app I can use?
 
If the box isn't accepting remote connections no.
You sure you're using the correct credentials? If this is going to be a long term thing just enable SSH on the box and then you can basically have full control over it whenever.
 
If the box isn't accepting remote connections no.
You sure you're using the correct credentials? If this is going to be a long term thing just enable SSH on the box and then you can basically have full control over it whenever.

How would I do that? I checked and it does seem to have ssh installed?
 
sudo apt-get update
sudo apt-get install openssh-server
sudo ufw allow 22
 
Hi Ockie,

What is the error you are getting I just want to figure out if it is the same as mine.
 
Yes.
That's an authentication failed message. User or password incorrect.
 
Yes.
That's an authentication failed message. User or password incorrect.

I have created 3 different users, with the most simple of passwords.

maakoopasb

maakoop1

Etc

No luck.

There is more info on the thread about the home Server of mine don't want to hijack ockies thread.
 
I have created 3 different users, with the most simple of passwords.

maakoopasb

maakoop1

Etc

No luck.

There is more info on the thread about the home Server of mine don't want to hijack ockies thread.

Are there any relevant messages in /var/log/security or /var/log/messages?
 
Top
Sign up to the MyBroadband newsletter
X