ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: sshexec problem
Date Wed, 02 Jan 2008 15:59:42 GMT

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.


From: ext Martin Gainty [] 
Sent: 02 January 2008 15:49
To: Steiner Simon (EXT-Alten/Southwood)
Subject: RE: sshexec problem
Putty or (putty link) uses the env variables
PLINK_PROTOCOL to the word ssh

in effect 
the specified protocol specified is set to SSH (vs SSH2)
CVS_RSH to the path of your plink.exe binary
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:
> To:
> 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:
> For additional commands, e-mail:

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message