delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/09/11:48:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Neil Aggarwal" <neil AT JAMMConsulting DOT com>
To: "Randall R Schulz" <rrschulz AT cris DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: Can't get authorized_keys to work
Date: Wed, 9 Apr 2003 10:48:21 -0500
Message-ID: <ACEDKBKBMCFCDCBFOOEJKECFCNAA.neil@JAMMConsulting.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
In-Reply-To: <5.2.1.1.2.20030409081337.00ff6190@pop3.cris.com>

Randall:

I used the dos2unix command.  Here is what I get:

[neil AT 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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Randall R Schulz
> Sent: Wednesday, April 09, 2003 10:14 AM
> To: cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019