[this came up in a different thread, but since the question has taken
on a whole new bent, i thought i'd re-thread it]

i'd like to forward a customized environment variable from machine A
to machine B, when i connect via ssh.  reading the ssh manpage, it
seems that i should be able to create '~/.ssh/environment' containing
'MYVARIABLE=foo' on machine A, and then, upon ssh'ing to machine B,
'echo $MYVARIABLE' should print out 'foo'.

but it doesn't.  am i missing something?  i can't see anything
relevant on the sshd manpage, so i don't think i need to do anything
to the sshd config on machine B.

help?

tia,

</nori>

-- 
    .~.      nori @ sccs.swarthmore.edu
    /V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\          @ maenad.net
  /(   )\       www.maenad.net
   ^`~'^
*------------------------------------------------------------------------*
* http://www.aidsmarathon.com/participant.asp?runner=DCNO-3267&year=2003 *
*------------------------------------------------------------------------*
*           Please help me raise money for AIDS as I train for           *
*                  the Whitman-Walker AIDS Marathon!                     *
*------------------------------------------------------------------------*

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to