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