Can't get authorized_keys to work

Vince Hoffman vince.hoffman@uk.circle.com
Wed Apr 9 17:10:00 GMT 2003


I could be wrong but... shouldnt  id_rsa.pub (and/or id_dsa.pub) be put in
authorised_keys2 ? (i thought it was ssh1 keys in authorized_keys and ssh2
keys in authorized_keys2 but that could be my lack of knowlege here) I tend
to just use ssh-user-config and add any new keys to the created
authorized_key/authorized_key2  files.
----- Original Message -----
From: "Neil Aggarwal" <neil@JAMMConsulting.com>
To: "Randall R Schulz" <rrschulz@cris.com>; <cygwin@cygwin.com>
Sent: Wednesday, April 09, 2003 4:48 PM
Subject: RE: Can't get authorized_keys to work


> Randall:
>
> I used the dos2unix command.  Here is what I get:
>
> [neil@www .ssh]$ file *
> authorized_keys: ASCII text
>
> So, it does seem to be in UNIX format now.
>
> Any other ideas?
>
> Thanks,
> Neil.
>
> --
> Neil Aggarwal
> JAMM Consulting, Inc.    (972) 612-6056, http://www.JAMMConsulting.com
> Custom Internet Development    Websites, Ecommerce, Java, databases
>
>
> > -----Original Message-----
> > From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> > Of Randall R Schulz
> > Sent: Wednesday, April 09, 2003 10:14 AM
> > To: cygwin@cygwin.com
> > Subject: Re: Can't get authorized_keys to work
> >
> >
> > David,
> >
> > The "file" command also identifies DOS vs. Unix text format. It even
> > knows Mac-style. I doesn't use those names, but it does
> > distinguish them all:
> >
> > % file test*
> > test.txt:   ASCII text, with CRLF line terminators
> > test-txt:   ASCII text
> > test[TEXT]: ASCII text, with CR line terminators
> >
> >
> > Randall Schulz
> >
> >
> > At 21:30 2003-04-08, you wrote:
> > >Neil Aggarwal wrote April 08, 2003 5:55 PM:
> > > > I am trying to use cygwin to set-up an authorized_keys file
> > > > on my server to allow me to automatically login without a
> > > > password.
> > > >
> > > > My client machine is Windows 2000 Professional and the server
> > > > is RedHat Linux 7.3.
> > >
> > >Have you checked line endings?  e.g. Cygwin might have created the file
> > >with CR-LF, but Linux wants LF.  Use "od" (octal dump) to examine the
> > >file.  Use "dos2unix" to convert line endings.
> > >
> > >
> > >HTH,
> > >
> > >David
> >
> >
> > Randy
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list