[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ssh, $(MAKE) and -n weirdness
From: |
Paul Smith |
Subject: |
Re: ssh, $(MAKE) and -n weirdness |
Date: |
Tue, 15 Jul 2008 10:25:44 -0400 |
On Tue, 2008-07-15 at 10:18 -0400, Martin d'Anjou wrote:
> Then I get the desired effect of propagating the '-n' and command line
> variables through the subshell (ssh in this case). I am sure this will
> come back to bite me, but I don't see how yet.
As an alternative, you might consider adding appropriate AcceptEnv
options to the SSH daemon config on the server (if you have privileges)
and matching SendEnv settings to your client config. See the
sshd_config(5) and ssh_config(5) man pages for more info.
This should allow make variables to be sent through the environment from
the client to the server, which is a more natural way for make to handle
them.