David Burgess wrote:
> I'm trying to use parallel-ssh to poll my tc for update and other such
> things one might want to do via ssh on a running tc. I followed the
> guide here:
> 
> http://www.debian-administration.org/articles/530
> 
> placing the generated id_rsa.pub into
> /opt/ltsp/i386/root/.ssh/authorized_keys/ on the server. I uncommented
> the line

Just to be clear, you have a file "authorized_keys" with the public key in 
it right? It sounds like you put the id_rsa.pub file into an 
authorized_keys directory which would be wrong.

> 
> AuthorizedKeysFile      %h/.ssh/authorized_keys
> 
> then rebuilt the image (also tried replacing "%h" above with "/root").
> After rebooting a test tc, I can see the file in
> /root/.ssh/authorized_keys, but I still get a password challenge when
> trying to ssh in. If I enter a blank password I am unable to connect.

To block password authentication make sure the 
/opt/ltsp/i386/etc/ssh/sshd_config file contains the entries:

PermitRootLogin without-password
PasswordAuthentication no

> 
> Is there a better way of doing this?
> 

It works pretty well for me.

-Steve

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_____________________________________________________________________
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