From owner-freebsd-questions Mon Feb 18 7:50:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.ucles.org.uk (mail3.ucles.org.uk [192.149.119.13]) by hub.freebsd.org (Postfix) with ESMTP id 5F01C37B416 for ; Mon, 18 Feb 2002 07:50:16 -0800 (PST) Received: from mail3.ucles.org.uk (unverified) by mail3.ucles.org.uk (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Mon, 18 Feb 2002 15:48:05 +0000 Received: by forest.nrl.navy.mil with Internet Mail Service (5.5.2653.19) id <1XK2WQ25>; Mon, 18 Feb 2002 15:48:05 -0000 Message-ID: <0B0368CED76DD4118E1200D0B73E9B5D02AFD066@MAIL1> From: Mike Dewhirst To: "'art@pilikia.net'" Cc: "'questions@FreeBSD.org'" Subject: RE: cvs and ssh and everything else. Date: Mon, 18 Feb 2002 15:48:38 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1B893.BB15DCC0" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" RE: cvs and ssh and everything else.

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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message