ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <ext-simon.stei...@nokia.com>
Subject RE: sshexec problem
Date Wed, 02 Jan 2008 15:59:42 GMT
Hi,

Can I get the environment that putty gives in a portable way. Such as calling some commands
when logged in to switch.

Am I right in thinking that /etc/profile is not called for sshexec which is the main problem.

Sshexec gives me a TERM=dumb and Putty TERM=xterm.

Thanks

________________________________________
From: ext Martin Gainty [mailto:mgainty@hotmail.com] 
Sent: 02 January 2008 15:49
To: Steiner Simon (EXT-Alten/Southwood)
Subject: RE: sshexec problem

http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter7.html#i16
 
Putty or (putty link) uses the env variables
PLINK_PROTOCOL to the word ssh
CVS_RSH=\path\to\plink.exe

in effect 
the specified protocol specified is set to SSH (vs SSH2)
CVS_RSH to the path of your plink.exe binary
 
kiitos/
Martin 
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission.


> Subject: sshexec problem
> Date: Wed, 2 Jan 2008 16:56:55 +0200
> From: ext-simon.steiner@nokia.com
> To: user@ant.apache.org
> 
> Hi,
> 
> I am using sshexec to connect to a unix machine, I see difference in the
> environment ('export'ed values) when using this compared to logging in
> with Putty. Why would this be?
> 
> Thanks
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

________________________________________
i'm is proud to present Cause Effect, a series about real people making a difference. Learn
more

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message