PasswordAuthentication
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
|
Help
]
Start:
[[FAQ]]
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]].
End:
[[FAQ]]
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]].
Page: