Re: [JSch-users] Supply more meaningful exception messages

2011-09-29 Thread Stephen Williams
Hi, I posted this question quite some years ago now. Atsuhiko responded at the time that too many people's code depends on this string, so it would cause problems for many if it were to be changed. And in fact my own code simply checks for "Auth fail" and provides a more verbose error message to

Re: [JSch-users] Doc and command su

2010-04-28 Thread Stephen Williams
Perhaps you need to set pty? As in: ((ChannelShell) channel).setPtyType("dumb"); --Steve On 4/28/2010 9:01 AM, Keith Alan Richardson wrote: > Here is example code. Tested against Linux run OpenSSH. > > @ Ehud, I wasn't able to get it to work with openChannel("session"). > Any ideas why? > >

[JSch-users] using Identity to pass in ssh-agent info

2009-02-18 Thread Stephen Williams
Hi, I'm considering adding a way for my product to get identities from ssh-agent (via JNI) so it can pass them to JSch (a wonderful product!). Before I go down that path, I wanted to ask if anyone can tell me if the following approach would work: - Create a class IdentityAgent that implements In