[ale] Is there a limit on password length or characters for OUTBOUND sftp when receding a "password" prompt?

Raj Wurttemberg rajaw at c64.us
Thu Apr 20 19:06:48 EDT 2017


Hey Jeff,

Silly thought...  Could there be a max password length set in PAM or
login.defs?  Or maybe 'pam_cracklib.so' can't handle more than 32
characters?

/Raj

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Lightner, Jeffrey
Sent: Thursday, April 20, 2017 5:45 PM
To: Atlanta Linux Enthusiasts <ale at ale.org>
Subject: Re: [ale] Is there a limit on password length or characters for
OUTBOUND sftp when receding a "password" prompt?

Tried on what?

As noted the password actually works on the remote system if I do sftp from
a RHEL7 server to the remote.    So whatever they're running on the remote
has no problem with a password that long.  That suggests to me the issue is
that something in the local sftp command on RHEL6 is not sending the
password properly.   I suspect it is due to length i.e. sftp command doesn't
allow for the 30+ character because it only expects to send something less
(e.g. the 15/16 characters tantalizing mentioned in the Cisco bug) or it
doesn't like the "-" that appears 4 times in the password.   

NB:  The remote is NOT Cisco - I only mention Cisco because it was the only
thing I saw that suggested a length limit in all my web searches.

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Leam
Hall
Sent: Thursday, April 20, 2017 5:26 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Is there a limit on password length or characters for
OUTBOUND sftp when receding a "password" prompt?

On 04/20/17 16:03, Lightner, Jeffrey wrote:
 > Yes.   As noted I have the issue either typing the password or
 > doing cut and paste.

Hmm...sorry. I missed that.

Well, I just tried a 32 character alphanumeric password for both ssh, sftp,
and su. All failed. So it looks like password is the issue, not ssh.



_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo

_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo



More information about the Ale mailing list