Hi, When I run sudo commands on a remote host using the jsch API's I get the following error.
"sudo: no tty present and no askpass program specified" But when I set the following pty flag, things work perfectly fine. ((ChannelExec)channel).setPty(false); Is there any reason why this flag is not set by default. ? What are the implications if I set this flag in terms of security and performance. ? thanks, Prakash ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users