Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 15:48:38 -0000
From:      Mike Dewhirst <Dewhirst.M@UCLES.org.uk>
To:        "'art@pilikia.net'" <art@pilikia.net>
Cc:        "'questions@FreeBSD.org'" <questions@FreeBSD.org>
Subject:   RE: cvs and ssh and everything else.
Message-ID:  <0B0368CED76DD4118E1200D0B73E9B5D02AFD066@MAIL1>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1B893.BB15DCC0
Content-Type: text/plain; charset="iso-8859-1"

I've done this exactly. I still get the prompt coming up..

Do I need to restart anything?

I've tried naming the key file "authorized_keys" and " authorized_keys2"...

Any other suggestions? Can I provide any more information for people to be
able to understand what the problem is?

Thanks very much for the help!

> -----Original Message-----
> From: Arthur W. Neilson III [mailto:art@pilikia.net]
> Sent: 18 February 2002 15:29
> To: Mike Dewhirst
> Subject: Re: cvs and ssh and everything else.
> 
> 
> You need to convert the putty public key to openssh key format.
> copy (ftp) the file from your windows box to your ~/.ssh dir
> run command ssh-keygen -X -f putty_rsa.pub > putty_rsa.pub.new
> then append putty_rsa.pub.new to your ~/etc/.ssh/authorized_keys
> or ~/etc/.ssh/authorized_keys2 file depending if you're using ssh1 or 
> ssh2 ...
> 
> On 2/18/02 at 3:15 PM Mike Dewhirst wrote:
> >
> >I guess this question is 60% ssh, 20% cvs and 20% putty.
> >
> >I have been trying (without success) to set-up a cvs 
> repository over ssh.
> >
> >I am running freebsd 4.3, openSSH 2.3.0, cvs 1.11.
> >
> >The problem I'm having is more of an ssh one, since:
> >
> >I can not get ssh to authenticate using authorized_keys.
> >
> >I have created a pub/prv key pair using putty, and have 
> pasted it in to
> >authorized_keys. For some reason ssh will not log me in 
> without asking for
> >a
> >password. It seems I can not get it to use key authentication.
> >
> >I know this is maybe even the whole 40% a putty question, 
> but I'm really
> >stuck, so using desparate measures.
> >
> >Any help will be greatly appreciated.
> >
> >Many thanks in advance!
> >
> >Mike
> >
> >ssh config file:
> >
> >   RSAAuthentication yes
> >   PasswordAuthentication yes <- left this is to avoid being 
> locked out!
> >
> >
> >=**********************************************************
> >
> >If you are not the intended recipient, employee or agent 
> responsible for
> >delivering the message to the intended recipient, you are 
> hereby notified
> >that any dissemination or copying of this communication and its
> >attachments is strictly prohibited.
> >
> >If you have received this communication and its attachments in error,
> >please return the original message and attachments to the 
> sender using the
> >reply facility on e-mail.
> >
> >Internet communications are not secure and therefore the 
> UCLES Group does
> >not accept legal responsibility for the contents of this 
> message.  Any
> >views or opinions presented are solely those of the author and do not
> >necessarily represent those of the UCLES Group unless otherwise
> >specifically stated.
> >
> >This footnote also confirms that this email message has been swept by
> >MIMEsweeper for the presence of computer viruses although 
> this does not
> >guarantee that this email is virus free.
> >
> >**********************************************************=
> >
> >
> >To Unsubscribe: send mail to majordomo@FreeBSD.org
> >with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> --
>     __
>    /  )    _/_  It is a capital mistake to theorise before 
> one has data.
>   /--/ __  /    Insensibly one begins to twist facts to suit theories,
>  /  (_/ (_<__   Instead of theories to suit facts.
>                      -- Sherlock Holmes, "A Scandal in Bohemia"
>  Arthur W. Neilson III, WH7N - FISTS #7448
>  Bank of Hawaii Network Services
>  http://www.pilikia.net
>  art@pilikia.net, aneilson@boh.com, wh7n@arrl.net
> 
> 


=**********************************************************

If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of this communication and its attachments is strictly prohibited.

If you have received this communication and its attachments in error, please return the original message and attachments to the sender using the reply facility on e-mail.

Internet communications are not secure and therefore the UCLES Group does not accept legal responsibility for the contents of this message.  Any views or opinions presented are solely those of the author and do not necessarily represent those of the UCLES Group unless otherwise specifically stated.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses although this does not guarantee that this email is virus free.

**********************************************************=


------_=_NextPart_001_01C1B893.BB15DCC0
Content-Type: text/html; charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: cvs and ssh and everything else.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I've done this exactly. I still get the prompt coming up..</FONT>
</P>

<P><FONT SIZE=2>Do I need to restart anything?</FONT>
</P>

<P><FONT SIZE=2>I've tried naming the key file &quot;authorized_keys&quot; and &quot; authorized_keys2&quot;...</FONT>
</P>

<P><FONT SIZE=2>Any other suggestions? Can I provide any more information for people to be able to understand what the problem is?</FONT>
</P>

<P><FONT SIZE=2>Thanks very much for the help!</FONT>
</P>

<P><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: Arthur W. Neilson III [<A HREF="mailto:art@pilikia.net">mailto:art@pilikia.net</A>]</FONT>
<BR><FONT SIZE=2>&gt; Sent: 18 February 2002 15:29</FONT>
<BR><FONT SIZE=2>&gt; To: Mike Dewhirst</FONT>
<BR><FONT SIZE=2>&gt; Subject: Re: cvs and ssh and everything else.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; You need to convert the putty public key to openssh key format.</FONT>
<BR><FONT SIZE=2>&gt; copy (ftp) the file from your windows box to your ~/.ssh dir</FONT>
<BR><FONT SIZE=2>&gt; run command ssh-keygen -X -f putty_rsa.pub &gt; putty_rsa.pub.new</FONT>
<BR><FONT SIZE=2>&gt; then append putty_rsa.pub.new to your ~/etc/.ssh/authorized_keys</FONT>
<BR><FONT SIZE=2>&gt; or ~/etc/.ssh/authorized_keys2 file depending if you're using ssh1 or </FONT>
<BR><FONT SIZE=2>&gt; ssh2 ...</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; On 2/18/02 at 3:15 PM Mike Dewhirst wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;I guess this question is 60% ssh, 20% cvs and 20% putty.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;I have been trying (without success) to set-up a cvs </FONT>
<BR><FONT SIZE=2>&gt; repository over ssh.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;I am running freebsd 4.3, openSSH 2.3.0, cvs 1.11.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;The problem I'm having is more of an ssh one, since:</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;I can not get ssh to authenticate using authorized_keys.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;I have created a pub/prv key pair using putty, and have </FONT>
<BR><FONT SIZE=2>&gt; pasted it in to</FONT>
<BR><FONT SIZE=2>&gt; &gt;authorized_keys. For some reason ssh will not log me in </FONT>
<BR><FONT SIZE=2>&gt; without asking for</FONT>
<BR><FONT SIZE=2>&gt; &gt;a</FONT>
<BR><FONT SIZE=2>&gt; &gt;password. It seems I can not get it to use key authentication.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;I know this is maybe even the whole 40% a putty question, </FONT>
<BR><FONT SIZE=2>&gt; but I'm really</FONT>
<BR><FONT SIZE=2>&gt; &gt;stuck, so using desparate measures.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;Any help will be greatly appreciated.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;Many thanks in advance!</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;Mike</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;ssh config file:</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;&nbsp;&nbsp; RSAAuthentication yes</FONT>
<BR><FONT SIZE=2>&gt; &gt;&nbsp;&nbsp; PasswordAuthentication yes &lt;- left this is to avoid being </FONT>
<BR><FONT SIZE=2>&gt; locked out!</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;=**********************************************************</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;If you are not the intended recipient, employee or agent </FONT>
<BR><FONT SIZE=2>&gt; responsible for</FONT>
<BR><FONT SIZE=2>&gt; &gt;delivering the message to the intended recipient, you are </FONT>
<BR><FONT SIZE=2>&gt; hereby notified</FONT>
<BR><FONT SIZE=2>&gt; &gt;that any dissemination or copying of this communication and its</FONT>
<BR><FONT SIZE=2>&gt; &gt;attachments is strictly prohibited.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;If you have received this communication and its attachments in error,</FONT>
<BR><FONT SIZE=2>&gt; &gt;please return the original message and attachments to the </FONT>
<BR><FONT SIZE=2>&gt; sender using the</FONT>
<BR><FONT SIZE=2>&gt; &gt;reply facility on e-mail.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;Internet communications are not secure and therefore the </FONT>
<BR><FONT SIZE=2>&gt; UCLES Group does</FONT>
<BR><FONT SIZE=2>&gt; &gt;not accept legal responsibility for the contents of this </FONT>
<BR><FONT SIZE=2>&gt; message.&nbsp; Any</FONT>
<BR><FONT SIZE=2>&gt; &gt;views or opinions presented are solely those of the author and do not</FONT>
<BR><FONT SIZE=2>&gt; &gt;necessarily represent those of the UCLES Group unless otherwise</FONT>
<BR><FONT SIZE=2>&gt; &gt;specifically stated.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;This footnote also confirms that this email message has been swept by</FONT>
<BR><FONT SIZE=2>&gt; &gt;MIMEsweeper for the presence of computer viruses although </FONT>
<BR><FONT SIZE=2>&gt; this does not</FONT>
<BR><FONT SIZE=2>&gt; &gt;guarantee that this email is virus free.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;**********************************************************=</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;To Unsubscribe: send mail to majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=2>&gt; &gt;with &quot;unsubscribe freebsd-questions&quot; in the body of the message</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; --</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; __</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; /&nbsp; )&nbsp;&nbsp;&nbsp; _/_&nbsp; It is a capital mistake to theorise before </FONT>
<BR><FONT SIZE=2>&gt; one has data.</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; /--/ __&nbsp; /&nbsp;&nbsp;&nbsp; Insensibly one begins to twist facts to suit theories,</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; /&nbsp; (_/ (_&lt;__&nbsp;&nbsp; Instead of theories to suit facts.</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Sherlock Holmes, &quot;A Scandal in Bohemia&quot;</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Arthur W. Neilson III, WH7N - FISTS #7448</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; Bank of Hawaii Network Services</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; <A HREF="http://www.pilikia.net" TARGET="_blank">http://www.pilikia.net</A></FONT>;
<BR><FONT SIZE=2>&gt;&nbsp; art@pilikia.net, aneilson@boh.com, wh7n@arrl.net</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<CODE><FONT SIZE=3><BR>
<BR>
=**********************************************************<BR>
<BR>
If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of this communication and its attachments is strictly prohibited.<BR>
<BR>
If you have received this communication and its attachments in error, please return the original message and attachments to the sender using the reply facility on e-mail.<BR>
<BR>
Internet communications are not secure and therefore the UCLES Group does not accept legal responsibility for the contents of this message.  Any views or opinions presented are solely those of the author and do not necessarily represent those of the UCLES Group unless otherwise specifically stated.<BR>
<BR>
This footnote also confirms that this email message has been swept by<BR>
MIMEsweeper for the presence of computer viruses although this does not guarantee that this email is virus free.<BR>
<BR>
**********************************************************=<BR>
</FONT></CODE>
</BODY>
</HTML>
------_=_NextPart_001_01C1B893.BB15DCC0--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B0368CED76DD4118E1200D0B73E9B5D02AFD066>