raven22;374375 Wrote: > thanks, > > I got ssh setup with public keys so no password is asked and from the > cmd line of computer1 i can shutdown computer2 by entering: > ssh r...@computer2 shutdown -h now > > Problem however is that the squeezecenter user is not setup with the > public keys. To do that i have to login as user squeezecenter, but i > don't now as password. What is the default password of the user > squeezecenter?
How about "sudo /usr/bin/ssh r...@computer2 shutdown -h now" ? That way, I believe, it will be root that is communicating over ssh. You'll need to give the squeezecenter user permission to run ssh in /etc/sudoers. I have no idea what password is assigned to the squeezecenter user. Since user squeezecenter doesn't get shell login privileges, it may not have one...but I'm guessing here. -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
