On 11/15/2012 03:39 AM, christoffer krakou wrote:
> Hi List
> Den 14-11-2012 17:45, Stéphane Graber skrev:
>> On 11/14/2012 07:51 AM, christoffer krakou wrote:
>>> Hello list.
>>>
>>> I have an idea, and i want to know if anyone has any experience
>>> with this or something similar. I was to create a Fat client
>>> infrastructure using ubuntu. However, i want the clients to log
>>> into a third party server, rather than the server they boot from.
>>> This third party server will also store the users home
>>> directories. Has anyone tried this? Is there any documentation i
>>> can look at that could provide a clue?
> 
>> Just set LDM_SERVER to the server you want to authenticate and
>> mount the home directories from. The ssh public key for that server
>> will need to be in the chroot so that ldm can use it.
> That sounds like the easiest way to do it. However, i'm not sure how
> to handle the ssh keys, since i don't know where ltsp usually stores
> the keys, or how it generates them. Do you know where i can look to
> find out? The launchpad site is a bit hard to navigate

It depends on the version of LTSP, but usually, the keys are just stored
in the ssh known_hosts keyring.

So doing the following "should" work:
 - chroot /opt/ltsp/i386
   - ssh-keyscan -t rsa $LDM_SERVER >> /etc/ssh/ssh_known_hosts

Replacing $LDM_SERVER by the right value.

This will append the public key of the server to the global ssh known
hosts keyring.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_____________________________________________________________________
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