LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 02: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, 04:40 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
??? you just do it... the point is, you won't be asked for a password...
 
Old 04-01-2008, 04: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:05 PM
I need to allow ssh access Lsteele Linux - Newbie 16 11-30-2005 12:10 AM
Denying access to SSH but allow access to FTP nemesisza Linux - Security 5 03-14-2004 11:25 PM
ssh limited access macadam Linux - Newbie 7 12-23-2003 02:06 PM
msec4 and no more SSH access bluediver Linux - Security 4 10-13-2002 01:54 PM


All times are GMT -5. The time now is 11:27 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration