02-01-2017, 11:39 PM
If it has screensharing enabled, just use Command+K in the Finder. Connect to server via vnc://[ip address] and log in as an admin when prompted. Shut it down from the Apple menu like any other Mac.
...For the Terminal command, would have to have remote login enabled in the Sharing settings.
ssh [user]@[ip address]
sudo shutdown -h now
...For the Terminal command, would have to have remote login enabled in the Sharing settings.
ssh [user]@[ip address]
sudo shutdown -h now