Local machine IP address: 192.168.0.77
Remote machine IP address: 192.168.0.44
Command Syntax:
[root@server ~]#ssh root@remote-machine-ip /sbin/shutdown
-h now
[root@server ~]# ssh root@192.168.0.44 /sbin/shutdown -h
now
In similar you can
run command to create directory:
[root@server ~]# ssh root@192.168.0.44 /bin/mkdir software
shutdown remote server in 10 minutes for server maintenance
[root@server ~]# ssh root@192.168.0.44
[root@server ~]# shutdown -h +10 Ram upgrades.
#######Thanks for Visiting ####################
0 comments:
Post a Comment