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?
Progress: Got it, just removed the user squeezecenter and remade it with a password. Then made public keys like here: http://www.howtoforge.com/set-up-ssh-with-public-key-authentication-debian-etch The shutdown command is: ssh squeezecen...@host sudo /sbin/shutdown -h now (the squeezecenter user has to be in the sudoers file of the host server) Now the Srvrpwrctl plugin shuts down the hostserver, which in turn suspends the virtual server (with SC running) first. On to the next step -> getting the hostserver and virtual server to reboot. -- raven22 ------------------------------------------------------------------------ raven22's Profile: http://forums.slimdevices.com/member.php?userid=16511 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
