Re: SSH with Public Key Authentication (Was: Re: Attention: Giorgos Keramidas (Was: CVS Import Permissions))
On Thu, 2 Feb 2006 01:04:19 +0100, "Daniel A." <ldrada@xxxxxxxxx> said:
> > Thanks again for taking the time to reply. I have tried using SSH in
> > the past, and got stuck setting up the public key login (that's
> > why we're using pserver).
> >
> > I spent a few hours yesterday trying to get SSH going again. I can
> > login with SSH from the windows machine using Putty, but only when
> > I use password authentication. In order to use cvs with ssh (using
> > the plink program in Putty), we must use public key authentication.
> >
> > We are getting a 'Key Refused' error when trying to use public key
> > authentication. I have tried doing several things including editing
> > the /etc/ssh/sshd_config file:
>
> Try one or more of the following things:
> - Use puttygen to import your private key, and then export as .ppk
> - Load your key.ppk into pageant, and let it manage your private key(s)
> - Log in using your private key from the server (ie. login to the
> server with your password, and then from the shell ssh
> username@localhost).
>
> Please inform me of your results.
Daniel,
Thank you for taking the time to reply.
We are currently using pageant to manage the private key. However,
the keys we are using are generated with puttygen (not from the
server). The public key was then copied to the authorized_keys
file on the server. Would you recommend generating the keys on
the server? Do you have an idea where are some instructions
about how to generate the keys on the server? Thanks!
Regards,
DB
--
david bryce
davidbryce@xxxxxxxxxxx
--
http://www.fastmail.fm - The way an email service should be
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
Relevant Pages
- Re: TIPS FOR THE NEWCOMER
... As long as the private key is readable by the ssh client when it comes ... When the ssh client connects to the server, ... private key which matches the public key. ... (SSH) - Re: Explanation of SSH
... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ... (comp.security.ssh) - RE: TIPS FOR THE NEWCOMER
... using your old private key, so there's no point in keeping a backup. ... > security risk if I send this through e-mail as an attachment to the ssh ... > has been compromised it does not really matter since it is a public key ... > more words for the passphrase it gets harder to crack? ... (SSH) - Re: Restricting ssh access to selected hosts
... Then copy the public key to the target box with: ... >> You can make the ssh server key-only, ... > want to login as "userB" on the server. ... (comp.os.linux.security) - Re: applet file output
... Authentication is how the web server knows that ... > it is supposed to allow the applet to write the data. ... > has a distinct private key locally on their machine and the server has ... public key and hard code it into the applet. ... (comp.lang.java.programmer) |
|