Re: [JSch-users] Session.java is always using userauth.none

2011-11-29 Thread richard -rw- weinberger
On Tue, Nov 29, 2011 at 1:24 PM, Atsuhiko Yamanaka wrote: > Hi, > >   +-From: richard -rw- weinberger -- >   |_Date: Tue, 29 Nov 2011 13:14:35 +0100 _ >   | >    >> Try >    >> �,A http://www.jcraft.com/jsch/examples/Exec.java >   |This example works for me. >   |But I'm r

Re: [JSch-users] Session.java is always using userauth.none

2011-11-29 Thread Atsuhiko Yamanaka
Hi, +-From: richard -rw- weinberger -- |_Date: Tue, 29 Nov 2011 13:14:35 +0100 _ | >> Try >> ,A (Bhttp://www.jcraft.com/jsch/examples/Exec.java |This example works for me. |But I'm really confused now. |Why does my trivial program not work? |

Re: [JSch-users] Session.java is always using userauth.none

2011-11-29 Thread richard -rw- weinberger
Paul, Atsuhiko, Thanks for the clarification! On Tue, Nov 29, 2011 at 10:18 AM, Atsuhiko Yamanaka wrote: > Try >  http://www.jcraft.com/jsch/examples/Exec.java > This example works for me. But I'm really confused now. Why does my trivial program not work? See: http://paste.opensuse.org/view/ra

Re: [JSch-users] Session.java is always using userauth.none

2011-11-29 Thread Atsuhiko Yamanaka
Hi, +-From: richard -rw- weinberger -- |_Date: Tue, 29 Nov 2011 02:49:29 +0100 _ | |After reading through the source I found out that Session.java is |_always_ using "userauth.none". |Is this a known bug? The auth method "none" has been used to get the l

Re: [JSch-users] Session.java is always using userauth.none

2011-11-29 Thread Paul Ebermann
richard -rw- weinberger schrieb: > Hi! > > I was wondering why JSCH (1.45) never invokes getPassword() or > promptPassword() > whereas promptYesNo() and friends get used. > > After reading through the source I found out that Session.java is > _always_ using "userauth.none". > Is this a known bug

[JSch-users] Session.java is always using userauth.none

2011-11-28 Thread richard -rw- weinberger
Hi! I was wondering why JSCH (1.45) never invokes getPassword() or promptPassword() whereas promptYesNo() and friends get used. After reading through the source I found out that Session.java is _always_ using "userauth.none". Is this a known bug? Using the following hack JSCH will use my custom