r2 - 28 Apr 2007 - 21:32:48 - DarryllBaggYou are here: TWiki >  Ltsp Web  > SSH
DRAFT! DRAFT! DRAFT!

Since the information about how to enable ssh access on workstations is scattered all over a number of wiki pages, I thought I would collect it together here. This is my second post, so please correct any errors! I copy-pasted all the code, so also, please credit the people who wrote it!

1. Add this line to lts.conf

 LOCAL_APPS       = Y
This forces workstations to start the ssh daemon when they boot.

2. To enable login in on the workstation without a password we did this:

 first generate as root a DSA key
    > ssh-keygen -q -t dsa -f /root/.ssh/id_dsa
 Create a directory .ssh in /opt/ltsp/i386/root/
    > mkdir /opt/ltsp/i386/root/.ssh
    > chmod 700 /opt/ltsp/i386/root/.ssh
 Copy the public dsa file
    > cp /root/.ssh/id_dsa.pub /opt/ltsp/i386/root/.ssh/authorized_keys
    > chmod 600 /opt/ltsp/i386/root/.ssh/authorized_keys
Now test to see if logging in without a password is permitted.

-- UdoPuetz - 28 Sep 2006

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback