[JSch-users] Exception Question
Status: Alpha
Brought to you by:
ymnk
From: CJ B. <CJ....@he...> - 2017-11-01 23:24:30
|
Good Day, We are using version 0.1.53 version of JSCH and running into an intermittent issue when connecting to an SSH server on a Solaris system. Would like to get any insight as to what could be the cause. Thank You! Exception: Caused by: com.jcraft.jsch.JSchException: verify: false at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) Solaris log entries when error encountered: Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: kex: server->client aes256-cbc hmac-sha1 none Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: Peer sent proposed langtags, ctos: Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: Peer sent proposed langtags, stoc: Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: We proposed langtags, ctos: de-LU,en-GB,en-IE,en-US,fr,fr-BE,fr-FR,fr-LU,nl-BE,en-CA,nl,nl-NL,i-d efault Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: We proposed langtags, stoc: de-LU,en-GB,en-IE,en-US,fr,fr-BE,fr-FR,fr-LU,nl-BE,en-CA,nl,nl-NL,i-d efault Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: dh_gen_key: priv key bits set: 240/512 Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: bits set: 1000/2048 Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: expecting SSH2_MSG_KEXDH_INIT Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: bits set: 1032/2048 Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug2: kex_derive_keys Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug3: kex_reset_dispatch -- should we dispatch_set(KEXINIT) here? 0 && !0 Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: newkeys: mode 1 Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: set_newkeys: setting new keys for 'out' mode Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: SSH2_MSG_NEWKEYS sent Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.debug] debug1: expecting SSH2_MSG_NEWKEYS Oct 11 08:25:15 ldnsbygu51 sshd[15563]: [ID 800047 auth.info] Received disconnect from 10.213.53.228: 3: com.jcraft.jsch.JSchException: verify: false Solaris log entries when all works as expected: Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: kex: server->client aes256-cbc hmac-sha1 none Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: Peer sent proposed langtags, ctos: Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: Peer sent proposed langtags, stoc: Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: We proposed langtags, ctos: de-LU,en-GB,en-IE,en-US,fr,fr-BE,fr-FR,fr-LU,nl-BE,en-CA,nl,nl-NL,i-d efault Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: We proposed langtags, stoc: de-LU,en-GB,en-IE,en-US,fr,fr-BE,fr-FR,fr-LU,nl-BE,en-CA,nl,nl-NL,i-d efault Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: dh_gen_key: priv key bits set: 252/512 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: bits set: 1043/2048 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: expecting SSH2_MSG_KEXDH_INIT Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: bits set: 1003/2048 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug2: kex_derive_keys Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug3: kex_reset_dispatch -- should we dispatch_set(KEXINIT) here? 0 && !0 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: newkeys: mode 1 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: set_newkeys: setting new keys for 'out' mode Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: SSH2_MSG_NEWKEYS sent Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: expecting SSH2_MSG_NEWKEYS Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: newkeys: mode 0 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: set_newkeys: setting new keys for 'in' mode Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: SSH2_MSG_NEWKEYS received Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: KEX done Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: userauth-request for user sbyn service ssh-connection method none Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: attempt 0 initial attempt 0 failures 0 initial failures 0 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug3: Trying to reverse map address 10.213.53.228. Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug2: parse_server_config: config reprocess config len 937 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug2: input_userauth_request: setting up authctxt for sbyn Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug2: input_userauth_request: try method none Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: userauth_banner: sent Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.info] Failed none for sbyn from 10.213.53.228 port 62239 ssh2 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: userauth-request for user sbyn service ssh-connection method publickey Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug1: attempt 1 initial attempt 0 failures 0 initial failures 0 Oct 11 08:25:00 ldnsbygu51 sshd[15477]: [ID 800047 auth.debug] debug2: input_userauth_request: try method publickey .... Continues to successful outcome |