Your suggestion of debugging sshd helped.

There's something funny going on with PAM and VAS.  It thinks my password 
(which is null when I use PKA) is expired (but it's not, really) and that kicks 
off a reset process.  This seems to be the underlying cause.

So this is NOT a JSch issue.  Big relief.  Thanks for your time!


-----Original Message-----
From: Rancourt, Kent
Sent: Thursday, March 31, 2011 9:48 AM
To: Atsuhiko Yamanaka
Cc: [email protected]
Subject: RE: [JSch-users] Authenticating with private key / passphrase causes 
other problems...

The issue is occurring with both 0.1.41 and 0.1.44.

I'll try what you suggested with running sshd in debug mode.  I'm also going to 
try this against an alternate implementation of sshd to rule out server-side 
issues.

Thanks for the input.  It's much appreciated.  If you think of anything else, 
please let me know.

For my own peace of mind, does the code sample I included look like is SHOULD 
work?




________________________________________
From: Atsuhiko Yamanaka [[email protected]]
Sent: Thursday, March 31, 2011 2:53 AM
To: Rancourt, Kent
Cc: [email protected]
Subject: Re: [JSch-users] Authenticating with private key / passphrase causes 
other problems...

Hi,

Which JSch version are you using?
If you can run the remote sshd in the debug mode, you may find where is the 
problem; for example,
  # /bin/sh /etc/rc.d/init/sshd stop
  # /usr/sbin/sshd -d -d -d


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
This e-mail may contain confidential or privileged information. If
you think you have received this e-mail in error, please advise the
sender by reply e-mail and then delete this e-mail immediately.
Thank you. Aetna   

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to