LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2008, 01:43 PM   #1
shishirkotkar
Member
 
Registered: Sep 2007
Posts: 83

Rep: Reputation: 15
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?
 
Old 04-01-2008, 03:40 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
??? you just do it... the point is, you won't be asked for a password...
 
Old 04-01-2008, 03:40 PM   #3
grayflea
LQ Newbie
 
Registered: Jul 2007
Location: Winchester, KY
Distribution: Debian, Ubuntu
Posts: 6

Rep: Reputation: 0
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
 
  


Reply

Tags
ssh, sshconfig, sshdconfig



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root access using SSH atrac Linux - Security 2 10-29-2007 10:05 PM
I need to allow ssh access Lsteele Linux - Newbie 16 11-29-2005 11:10 PM
Denying access to SSH but allow access to FTP nemesisza Linux - Security 5 03-14-2004 10:25 PM
ssh limited access macadam Linux - Newbie 7 12-23-2003 01:06 PM
msec4 and no more SSH access bluediver Linux - Security 4 10-13-2002 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration