Mail Archives: cygwin/2002/10/21/21:35:42
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 -