[Swift-devel] command line ssh provider...

Mihael Hategan hategan at mcs.anl.gov
Tue Jan 17 17:12:24 CST 2012


On Tue, 2012-01-17 at 17:08 -0600, Jonathan Monette wrote:
> > Though now that I think about it, this wasn't strictly necessary since
> > for the ssh-cl provider, the task environment variables shouldn't be
> > passed to the ssh subprocess (they go on the command line of the ssh
> > shell).
> What do you mean by this?  When I saw the command line of the ssh shell no environment variables are being passed.

1. java forks ssh
2. ssh -> sshd
3. sshd forks shell

There is no point in passing task env vars in (1). You need them
somewhere in (3).

You don't see them in the shell command line because they are passed on
its stdin (i.e. as if typed).




More information about the Swift-devel mailing list