problem with environment detecting
Carson Gaspar
carson at taltos.org
Wed Mar 13 13:13:47 EST 2002
ssh host 'echo foo'
invokes
shell -c 'echo foo'
under the covers. Under most shells, the login environment will _not_ be
sourced.
ssh host
invokes
-shell
The magic leading - in ARGV[0] causes the shell to read it's login
environment.
This is the same behaviour as rsh/rlogin.
--
Carson Gaspar - carson at taltos.org
Queen Trapped in a Butch Body
More information about the openssh-unix-dev
mailing list