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

Lightner, Jeffrey JLightner at dsservices.com
Fri Apr 21 08:53:10 EDT 2017


There may in fact be a password limit on local host that would prevent your test from working, but again I am doing the login to a remote host and it works when I go there from RHEL7 - just not when I do it from RHEL6 or RHEL5.   

That means the remote is in fact allowing the password - it is something with the local (RHEL6/RHEL5) not sending it properly somehow even though I have typed or cut and pasted it exactly the same way each time.   I know I'm typing or cut and pasting correctly because I am consistently getting the login to work when coming from RHEL7.




-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Leam Hall
Sent: Thursday, April 20, 2017 6:19 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?

Sorry, brain's a bit slow. Tried on a CentOS 6 box, doing an sftp, ssh, and su to itself. All failed. Since the su failed that makes me think it's not ssh.

That is, I'm on a CentOS 6 box and tried ssh and sftp to the external IP, and then another account to su - to the long passworded account. All fail. When I changed the password back to something shorter it worked.


On 04/20/17 17:45, Lightner, Jeffrey wrote:
> 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
>
_______________________________________________
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