This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cygwin cron
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Pierre A. Humblet" <pierre dot humblet at ieee dot org>
- Cc: cygwin at cygwin dot com
- Date: Mon, 21 Oct 2002 21:35:21 -0400 (EDT)
- Subject: Re: cygwin cron
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/