delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/21/21:35:42

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 21 Oct 2002 21:35:21 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: cygwin cron
In-Reply-To: <20021022005435.GA1101271@HPN5170X>
Message-ID: <Pine.GSO.4.44.0210212131130.8025-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 21 Oct 2002, Pierre A. Humblet wrote:

> On Mon, Oct 21, 2002 at 08:21:08PM -0400, Igor Pechtchanski wrote:
> >
> > The fact that scp works for you from the command line doesn't necessarily
> > mean it will work from cron. Ssh and scp look in $HOME/.ssh for public
>
> /usr/doc/cygwin/openssh:
> "Please note that OpenSSH does never use the value of $HOME to
> search for the users configuration files! It always uses the
> value of the pw_dir field in /etc/passwd as the home directory."
>
> Running as the desired user should be enough
>
> Pierre

True.  However,

$ man ssh
[snip]
FILES
     $HOME/.ssh/known_hosts
[snip]
     $HOME/.ssh/identity, $HOME/.ssh/id_dsa, $HOME/.ssh/id_rsa
[snip]
     $HOME/.ssh/identity.pub, $HOME/.ssh/id_dsa.pub, $HOME/.ssh/id_rsa.pub
[snip]
     $HOME/.ssh/config
[snip]
     $HOME/.ssh/authorized_keys
[snip]
     $HOME/.shosts
[snip]
     $HOME/.ssh/rc
[snip]
     $HOME/.ssh/environment
[snip]
$

I guess the manpage needs to be updated...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
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