I have gathered the log messages below:

Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Connecting to 10.3.72.10 port 22
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Connection established
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Remote version string: 
SSH-2.0-OpenSSH_4.2
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Local version string: 
SSH-2.0-JSCH-0.1.41
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: CheckCiphers: 
aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: aes256-ctr is not available.
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: aes192-ctr is not available.
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: aes256-cbc is not available.
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: aes192-cbc is not available.
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: arcfour256 is not available.
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: SSH_MSG_KEXINIT sent
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: SSH_MSG_KEXINIT received
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: kex: server->client aes128-ctr 
hmac-md5 none
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: kex: client->server aes128-ctr 
hmac-md5 none
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: SSH_MSG_KEXDH_INIT sent
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: expecting SSH_MSG_KEXDH_REPLY
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: ssh_rsa_verify: signature true
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Host '10.3.72.10' is known and 
mathces the RSA host key
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: SSH_MSG_NEWKEYS sent
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: SSH_MSG_NEWKEYS received
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: SSH_MSG_SERVICE_REQUEST sent
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: SSH_MSG_SERVICE_ACCEPT received
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Authentications that can continue: 
publickey,keyboard-interactive,password
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Next authentication method: publickey
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Authentications that can continue: 
keyboard-interactive,password
Tue Sep 06 09:45:13 EEST 2011:  LOG: JSCH: Next authentication method: 
keyboard-interactive
Tue Sep 06 09:45:14 EEST 2011:  LOG: JSCH: Disconnecting from 10.3.72.10 port 22
Tue Sep 06 09:45:14 EEST 2011:  LOG: IfupdateLogConsole.perfrom(): Exception 
while trying to setup connection: com.jcraft.jsch.JSchException: Auth fail

The above messages are gathered when my password contains the "=" character.

The log files for a password that doesn't contain the "=" character are:

Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: Connecting to 10.3.72.10 port 22
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: Connection established
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: Remote version string: 
SSH-2.0-OpenSSH_4.2
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: Local version string: 
SSH-2.0-JSCH-0.1.41
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: CheckCiphers: 
aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: aes256-ctr is not available.
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: aes192-ctr is not available.
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: aes256-cbc is not available.
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: aes192-cbc is not available.
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: arcfour256 is not available.
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: SSH_MSG_KEXINIT sent
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: SSH_MSG_KEXINIT received
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: kex: server->client aes128-ctr 
hmac-md5 none
Tue Sep 06 09:28:25 EEST 2011:  LOG: JSCH: kex: client->server aes128-ctr 
hmac-md5 none
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: SSH_MSG_KEXDH_INIT sent
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: expecting SSH_MSG_KEXDH_REPLY
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: ssh_rsa_verify: signature true
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: Permanently added '10.3.72.10' (RSA) 
to the list of known hosts.
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: SSH_MSG_NEWKEYS sent
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: SSH_MSG_NEWKEYS received
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: SSH_MSG_SERVICE_REQUEST sent
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: SSH_MSG_SERVICE_ACCEPT received
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: Authentications that can continue: 
publickey,keyboard-interactive,password
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: Next authentication method: publickey
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: Authentications that can continue: 
keyboard-interactive,password
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: Next authentication method: 
keyboard-interactive
Tue Sep 06 09:28:26 EEST 2011:  LOG: JSCH: Authentication succeeded 
(keyboard-interactive).
Tue Sep 06 09:28:26 EEST 2011:  LOG: IfupdateLogConsole.perfrom(): Starting 
tailing the log file


I hope these messages can help to understand the situation.

Best Regards,
Vivi


-----Original Message-----
From: Atsuhiko Yamanaka [mailto:y...@jcraft.com] 
Sent: Tuesday, September 06, 2011 5:25 AM
To: Kyritsi, Paraskeyh
Cc: jsch-users@lists.sourceforge.net
Subject: Re: [JSch-users] Jsch seems to reject a connection with password that 
contains "="

Hi,

   +-From: "Kyritsi, Paraskeyh" <paraskeui.kyri...@siemens-enterprise.com> --
   |_Date: Mon, 5 Sep 2011 10:08:51 +0200 ___________________________________
   |
   |Hello all.  I am using JSCH to connect with an IP(username and
   |password) to a log console that i have created in my java
   |project.  When i choose a password that contains the "="
   |character, then i get the messages:
   ...
   |Why is that?  Is there any restriction in the jsch about the
   |passwords that a user should use, a restriction that doesn't
   |allow "=" as valid password character?

It is a first time to hear such a problem,
and I can not guess the reason for it at present time. 


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/
Twitter: http://twitter.com/ymnk
Facebook: http://facebook.com/aymnk

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to