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.

Front page   Edit Freeze Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes
Last-modified: 2006-04-14 (Fri) 02:03:41 (5715d)