July 31Jul 31 so i have 3 commandsserver="192.168.0.4" #ssh -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa root@$server '/sbin/poweroff' #ssh -o StrictHostKeyChecking=no root@$server '/sbin/poweroff' ssh root@$server '/sbin/poweroff'they both work fine in terminal mode.. but when i run it in a user script it will not shut down the computer.. and i use 192.168.0.4 in the terminal and it will shut down.. but in user script it does nothing how come?as i have script it wakes up the computer rsyncs then shuts down... but it wont shut it down Edited July 31Jul 31 by comet424
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.