Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have an LTSP network...
i want to try local applications...ie execute the application on the thin client rather than on on the LTSP server
my thin clients host name is ws101
LTSP server linux- 75hv
To do so i followed following procedure on the LTSP server
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
Questions
Now to try password less ssh login what am i suppose to do??
What i did was from the thin client i gave command "ssh root@ws101"
after i do this it asks me for root@ws101's password...
Do i have to do any configurration changes in ssh_config or sshd_config??
On the server:
ssh-keygen -f /root/.ssh/identity.silas -t dsa
rsync -va /root/.ssh/identity.silas.pub root@silas:/root/.ssh/
The above lines you run on the backup server, and then you go to silas and you run:
cat /root/.ssh/identity.silas.pub >> /root/.ssh/authorized_keys
chmod 640 /root/.ssh/authorized_keys
rm -f /root/.ssh/identity.silas.pub
Then test passwordless logins from server to silas by typing this at the server's prompt:
ssh -o"BatchMode yes" -o"user root" silas -i /root/.ssh/identity.silas
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.