sftp: Received message too long 1416128883
Hi guys,
I tried to sftp my web hosting server but i got an error message stating "Received message too long 1416128883". It is not a problem on my web hosting provider because it connects just fine using WinSCP on MS Windows. (I'm using Debian Sid, btw). I tried to google on this problem, found a solution stated this might be a problem because there's some sort of echo statement in my .bashrc. I couldn't figure it out, as far as I know, no such thing on my .bashrc. Someone also pointed out that my web hosting server might uses different version of SSH. I tried connecting using both SSH1 and SHH2 but none prevail. Any help would be very much appreciated, thanks. |
Received message too long 1416128883
Hi, I am getting the same message using sftp with my hosting company.
Was there a solution to this ? Jeremy |
This is because the default shell is "sbin/nologin" as set in the /etc/passwd file for your user account. If the hosting company change it to a normal shell (ie /bin/bash), then you'll be able to do sftp.
Note however, that you may still be able to do ftp. |
Ty grob115. I couldn't understnad why I wasn't able to SFTP to my box.
After reading your post, I remember disabling the particular user's shell. |
All times are GMT -5. The time now is 12:00 AM. |