Recently my main computer freezes up more often, and instead of giving him the hard treatment by pushing the power button, I'd rather reboot him gently.
So I grab my laptop, fire up Terminal and login to my main computer.
ssh username@ip-address
I enter my password and that’s how far I come every time. I know that I can kill single processes, but when I try the reboot or restart command, my laptop reboots, not the main computer which I logged into via ssh
.
I think it is possible, so this goes out to the advanced terminal user (I'm a beginner).