LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-08-2006, 08:00 PM   #1
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
SSH rsa key


hey all,

So I have become very confused about passwordless logon using ssh. I have a clustering program that requires ssh with rsa auth.
The manual tells me to do
Code:
ssh-keygen -t rsa
then when asked where hit enter and when asked for a password hit enter. It then says to move the contents of the id_rsa.pub to a file called authorized_keys on the slaves.
I did the command on my master and on my slave I have made a file called authorized_keys which is a copy of id_rsa.pub which came from the master computer. It doesn't work I believe there is something that I am doing wrong but I don't know. I had a quick google but got confused between the different types of auth. Any help would be great.

Cheers,

PB

[edit] This is on a Suse 10.0 system, connected to a Giga switch.

Last edited by PB0711; 09-08-2006 at 08:02 PM.
 
Old 09-08-2006, 08:29 PM   #2
shibucv
LQ Newbie
 
Registered: Apr 2006
Location: cochin
Distribution: Ubuntu 6.06.1 LTS, Debian Lenny
Posts: 12

Rep: Reputation: 0
hi ...

here is a small doc that i tried and works fine..

http://itmission.org/index.php?n=Mai...icKeyInOpenSSH

you can also use ..

ssh -v root@serer-ip-address

to see how the login works...
 
Old 09-09-2006, 01:59 AM   #3
sysconfig
Member
 
Registered: Sep 2006
Location: (.)
Posts: 44

Rep: Reputation: 15
Also please check the Key-based authentication - via SSH without a password

thx
 
Old 09-10-2006, 03:57 PM   #4
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Original Poster
Rep: Reputation: 30
cheers guys will try it on monday.
 
  


Reply



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
failed ssh RSA key authentication jdarren Linux - Networking 15 07-06-2008 10:25 AM
SSH RSA key fingerprint with network Ephracis Linux - Security 19 02-26-2008 06:03 AM
SSH RSA key problem taiwf Linux - General 3 05-21-2006 09:33 PM
ssh rsa key changed after upgrade itsjustme Linux - General 11 11-06-2003 09:12 AM
ssh RSA key thanat0s Linux - Security 3 09-29-2003 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:48 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