LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-10-2003, 01:30 PM   #1
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Rep: Reputation: 15
Question password-less ssh access?


i'm running openMosixView and it needs password-less ssh access to other computers on my network. I've tried making a key and then I get a public and a private key. I tried copying the keys to likely places but nothing seems to be working. I'm wondering if anyone knows where these keys need to be or what permissions need to be set in order to get this working.

thanks for you time,

soup
 
Old 07-10-2003, 01:33 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
This is how I do it:
1) login as USER on the client (where you want to connect from)
2) ssh-keygen -t dsa
(don't suppy a passphrase)
3) scp /home/USER/.ssh/id_dsa.pub USER@REMOTEHOST:/home/USER/.ssh/authorized_keys2
(you will need to enter your password this one time)
4) ssh REMOTEHOST
 
Old 07-10-2003, 01:33 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Depending on the server version it my be authorized_keys not authorized_keys2.
 
Old 07-10-2003, 01:37 PM   #4
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Original Poster
Rep: Reputation: 15
thanks for your fast reply
my version is openSSH 3.5p1 if that helps
 
Old 07-10-2003, 01:39 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
That will use authorized_keys2. If the above method doesn't work then try running:
ssh -vvv user@remotehost

This will print lots of debug info that could help.
 
Old 07-10-2003, 01:47 PM   #6
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Original Poster
Rep: Reputation: 15
woo hoo! openMosix cluster working! you have no idea how thankful I am

if we ever meet, drinks are on me
 
Old 07-10-2003, 01:49 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Quote:
Originally posted by soup
if we ever meet, drinks are on me
I can't wait!

Cheers
 
  


Reply


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
SSH without password Ephracis Linux - Security 4 02-25-2005 02:30 PM
SSH without password? Phaethar Linux - Networking 1 09-18-2004 06:31 AM
can't do password less ssh nedian123 Linux - Networking 2 06-26-2004 03:33 PM
Denying access to SSH but allow access to FTP nemesisza Linux - Security 5 03-14-2004 10:25 PM
SSH without password Kocil Linux - Networking 6 12-16-2003 02:59 PM


All times are GMT -5. The time now is 01:36 PM.

Main Menu
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