Hi,

   +-From: <[email protected]> ---
   |_Date: Fri, 19 Nov 2010 10:09:31 +0530 __
   |
   |                                                      One more small
   |observation. I am logging as an oracle user via the exec channel. I
   |could observe that the value for the system variable PATH is different
   |from the value that I get when I login via putty. For eg:
   |ORACLE_HOME/bin is present for the login via putty whereas it is not
   |present when I login through exec channel. Because of this I cannot run
   |oracle commands such as 'exp' directly. I had write a script in which I
   |had to modify the PATH variable. Why is this difference? Is it related
   |to bash profile loading?

That is not a problem from jsch.
For example, refer to 
  
http://stackoverflow.com/questions/216202/why-does-an-ssh-remote-command-get-fewer-environment-variables-then-when-run-manu


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to