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/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,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/

Reply via email to