Re: sshexec problem

2008-01-09 Thread Steve Loughran
[EMAIL PROTECTED] wrote: 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.

RE: sshexec problem

2008-01-02 Thread ext-simon.steiner
From: ext Martin Gainty [mailto:[EMAIL PROTECTED] 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

sshexec problem

2008-01-02 Thread ext-simon.steiner
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: [EMAIL PROTECTED

sshexec problem with scripts running "set -x"

2005-06-28 Thread Phillips, Rick
I have a fairly large ant project I'm trying to move from ant 1.5.4 to 1.6.5. The current build (1.5.4) does an exec of the UNIX "scp" and "ssh" commands to deploy the built products to the numerous environments I support. As part of moving to ant 1.6.5, I want to use the ant "scp" and "sshexe