LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh access (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-access-632248/)

shishirkotkar 04-01-2008 01:43 PM

ssh access
 
to run local applications in ltsp on suse 10.2 i did the following


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.


now how do i try if logging in without password is possible?

acid_kewpie 04-01-2008 03:40 PM

??? you just do it... :confused: the point is, you won't be asked for a password...

grayflea 04-01-2008 03:40 PM

you may have to make configuration changes for the ssh server in

/etc/ssh/sshd_config

and possibly for the ssh client in

/etc/ssh/ssh_config

the /etc/ssh directory is how Ubuntu 6.06 is set up, suse may be different

testing requires two or more hosts


All times are GMT -5. The time now is 02:19 AM.