View Single Post
  #1  
Old 01-03-2008, 09:17 AM
unix unix is offline
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default difference between interactive ssh session and non-interactive

Hi,

I am getting a segmentation fault from a in house application when I
use Putty PLINK and not getting it when using Putty interactive login.

Why is the enviroment different between these and how can I make PLINK
act like the interactive login.

I have tried manually setting the export'ed values and enabling pty
allocation but this makes no difference to the error.

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

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

Thanks
Reply With Quote