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 behaviour. Of course I could call Session.connect
twice, but I am wondering whether Jsch supports this.

Many thanks,
Razvan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to