[JSch-users] Authentication with password & key

2016-10-14 Thread Răzvan Rotaru
Hi Jsch community, I am looking to use both password and key authentication in a single connect call, so that the password authentication is used as backup in case the key authentication fails. Adding the key with Jsch.addIdentity and password with Session.setUserInfo does not yield this

Re: [JSch-users] SFTP of large file hangs

2016-10-14 Thread Vikas Verma
Yeah looks like a similar issue. But I am not familiar with JSCH source code to figure out how to change that to make it work. From: Alan Ezust Sent: Friday, October 14, 2016 12:55 PM To: Vikas Verma Cc: jsch-users@lists.sourceforge.net

Re: [JSch-users] Authentication with password & key

2016-10-14 Thread Vikas Verma
Have you tried config.put("PreferredAuthentications", "publickey,keyboard-interactive,password"); From: Răzvan Rotaru Sent: Friday, October 14, 2016 11:49:45 AM To: jsch-users@lists.sourceforge.net Subject: [JSch-users] Authentication