info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh authentication with key based access


From: Jason McClellen
Subject: Re: ssh authentication with key based access
Date: Sun, 22 May 2005 08:45:07 -0500

On 5/20/05, ankush grover <address@hidden> wrote:
> Hey friends,
> 
>  I have configured cvs server on Fedora Core 3 .There are 2
> repositories on the server.I am using SSH protocol for authencation
> but the problem is that I am not able to do key based
> authentication.Everytime I do import module or checkout module i get
> the prompt for password whereas it should prompt for passphrase.
> 
> Let I am explaining what I have done.
> 
> I downloaded Cygwin and OpenSSH for windows.
> 
> create a home directory under c:\cygwin  for ex c:\cygwin\ankush.
> 
> Under c:\cygwin\ankush i created a directory .ssh .Then I generated
> the key pair  with
> 
> ssh-keygen -t dsa.
> 
> I imported the id_dsa.pub to the cvs server .On the Cvs server for the
> user ankush I did this
> 
> cat id_dsa.pub >> .ssh/authorized_keys.
> 
> I have checked the permission for .ssh it is 700 and for
> authorized_keys it is 600.
> 
> Under /etc/ssh/sshd_config it is can seen that the Authorizedfiles is
> authorized_keys.
> 
> I checked the log /var/log/secure but it seems there is no error in logs.
> 
> 
> I am using Wincvs on XP pro with SP2.
> 
> Can anybody guide me what wrong steps I am doing and what steps to
> take to make it happen.
> 
> Thanks & Regards
> 
> Ankush Grover
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/info-cvs
> 

I suspect that this has something to do with the location of your home
directory. You may have to set the HOME environment variable so the
ssh know where to look for your keys.

Try adding a few '-v' switches to your ssh command. This will produce
more debugging output, and will reveal where your set up is not
correct.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]