Hello, On Mon, Apr 28, 2008 at 02:54:56PM +0200, Peter Stein wrote:
> Does /usr/bin/ltsp-update-sshkeys work for you? I neither got an > error nor does it seem to work. It just doesn't do anything. I > executed the script on the main ltsp-server and a secondery > server. I can't get a file with ltsp-update-sshkeys --export > ssh_known_hosts.xyz. This is odd. Buggy script? Yes, but I remember that it was not so easy. Three steps : 1. On the secondary server (I mean the one which doesn't contains the ltsp chroot, on which you want to also permit logins), I've done : vlad:~# ltsp-update-sshkeys --export ssh_known_hosts.test It will export the keys, as you can see with ls : vlad:~# ls -l total 8 -rw-r--r-- 1 root root 1978 avr 28 23:18 ssh_known_hosts.test -rw-r--r-- 1 root root 1978 mar 22 19:02 ssh_known_hosts.vlad vlad:~# (the .test file is the one I've exported at the moment, to test while explainig). 2. scp the exported file to the Ltsp server Important : as my tests have demonstrated it, you **must** put this file in /etc/ltsp on Ltsp server. Here (Debian/lenny), I had to create this directory by hand, which doesn't exist at first. (I think it's because this path is harcoded in the ltsp-update-sshkeys, which is a shell script.) 3. whith the file in /etc/ltsp, run ltsp-update-sshkeys And you should be able to login on the secondary server. > I also tried to add the public keys manually to > chroot/etc/ssh/ssh_known_hosts. but that didn't work too. Mmm, yes but if Ltsp provide a script specially crafted for managing the keys, I think that it as a reason behind... Hope it helps (?), -- J.-F. STRAETEN --- Mutt 1.5.6i Powered by GNU/Linux - SuSE 9.1 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _____________________________________________________________________ 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
