> maybe this is a stupid question but i'm not able to access the clients as root
> from the server via ssh. i'm running ltsp-4.1.1 with a gentoo server, followed
> the instructions found in the documentation and the wiki to run local
> applications, but if i run 'ssh ws001 command' as root it ask for a password 
> but

The easiest way to work around this is probably to create an SSH
certificate and login via that. You don't ever need NIS running then.
Like this (in some temporary directory):

ssh-keygen -t dsa -f id_dsa
# Probably use an empty passphrase, so that it can be automated.
# This will create id_dsa and id_dsa.pub.


mkdir /opt/ltsp/i386/root/.ssh
cat id_dsa.pub >> /opt/ltsp/i386/root/.ssh/authorized_keys

--
Now, move id_dsa to wherever your automated script can access it (but
only that one, permissions are 600 by default - ssh will complain if
id_dsa is world-visible). Then do, for instance:

ssh -l root -i /path/to/id_dsa ws001 killall X

If this doesn't work immedeately, have a look
at /opt/ltsp/i386/etc/(ssh/?)sshd_config and make sure certificate
logins are enabled.

// Dag Sverre



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to