RSA Authentification problem

RSA Authentification problem

Post by tru » Thu, 25 Apr 2002 20:00:17



Can't use RSA Authentification with public/private keys pair when using ssh
between 2 RedHat 7.2 OS. Only the password authentification works.
I generate a pair with ssh_keygen on the first machin and then append the
identity.pub in authorized_keys on the second machin. But when i lauch "ssh
machin2" on the first machin a password is required.
the sshd_config RSAAuthentication directive is YES
Does someone know which can be the problem ?
 
 
 

RSA Authentification problem

Post by Tim Wooda » Thu, 25 Apr 2002 20:30:09


On 24 Apr 2002 04:00:17 -0700,

Quote:> Can't use RSA Authentification with public/private keys pair when using ssh
> between 2 RedHat 7.2 OS. Only the password authentification works.
> I generate a pair with ssh_keygen on the first machin and then append the
> identity.pub in authorized_keys on the second machin. But when i lauch "ssh
> machin2" on the first machin a password is required.
> the sshd_config RSAAuthentication directive is YES
> Does someone know which can be the problem ?

Permissions/ownership of authorized_keys[2] or the directories / /home /home/*
/home/*/.ssh/ probably.

Check your logs. The problem will be described in there.

Regards,

Tim.

--

and there was light.

     http://tjw.hn.org/      http://www.locofungus.btinternet.co.uk/

 
 
 

RSA Authentification problem

Post by Kasper Dupon » Mon, 29 Apr 2002 22:26:25



> Can't use RSA Authentification with public/private keys pair when using ssh
> between 2 RedHat 7.2 OS. Only the password authentification works.
> I generate a pair with ssh_keygen on the first machin and then append the
> identity.pub in authorized_keys on the second machin. But when i lauch "ssh
> machin2" on the first machin a password is required.
> the sshd_config RSAAuthentication directive is YES
> Does someone know which can be the problem ?

Did you create keys for the correct protocol version?
I think most ssh clients now use protocol version 2
by default, but ssh-keygen still generates version 1
keys by default.

--
Kasper Dupont -- der bruger for meget tid p? usenet.

 
 
 

RSA Authentification problem

Post by s. keeli » Fri, 10 May 2002 14:02:13



> On 24 Apr 2002 04:00:17 -0700,

> > Can't use RSA Authentification with public/private keys pair when using ssh
> > between 2 RedHat 7.2 OS. Only the password authentification works.
> > I generate a pair with ssh_keygen on the first machin and then append the
> > identity.pub in authorized_keys on the second machin. But when i lauch "ssh
> > machin2" on the first machin a password is required.
> > the sshd_config RSAAuthentication directive is YES
> > Does someone know which can be the problem ?

> Permissions/ownership of authorized_keys[2] or the directories / /home /home/*
> /home/*/.ssh/ probably.

> Check your logs. The problem will be described in there.

I can second his complaint.  SuSE 7.1 Personal, I've never managed to
get ssh-agent to work with my ISP.  Always asks for passwords.
Nothing relevant in the logs.

--
Any technology distinguishable from magic is insufficiently advanced.
(*)  TopQuark Software & Services.  Contract programmer, server bum.
- -             Give up Spammers; I use procmail.
How to quote: http://learn.to/quote (Ger.) http://quote.6x.to (Eng.)

 
 
 

1. Using RSA authentification

Hello,

I want to use ssh RSA authentification to generate private and public
keys instead of giving the password each times. I want that my backup
server to connect to several machines to get somme data (this will
in cron).
What to do exactly in order to allows server to connect to machines
without sending password. I'm learning about RSA key which allows this,
but not understand quite what to do exactly. I want to create an user on
the server which do all that.
Can you please helping me.

Thanks

2. tilde expansion with variable in bash script

3. OpenSSH 3.1: RSA, known_hosts2 problem?

4. This guy's clueless

5. RSA auth...........A Bull's problem

6. Glibc Help?!?

7. ssh RSA authentication problem

8. Q: Sysinfo for Linux

9. T-Online Authentification Problem!

10. Basic Authentification Problem

11. Problem with MS-CHAP and PPP and authentification

12. rsh and authentification problem