Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: "Pierre A. Humblet" cc: cygwin AT cygwin DOT com Subject: Re: cygwin cron In-Reply-To: <20021022005435.GA1101271@HPN5170X> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/