If the ''PasswordAuthentication'' setting in OpenSSH is set to “No”, jsch will not be able to connect to the server. Command-line SSH clients will work fine using ''keyboard-interactive'' logins.

The workaround is to implement ''com.jcraft.jsch.UIKeyboardInteractive''
interface and pass it to ''Session'' object by ''setUserInfo'' method.  For example, refer to
''MyUserInfo'' class defined in [[UserAuthKI.java:http://www.jcraft.com/jsch/examples/UserAuthKI.java]].

Front page   Edit Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes