Topic "Received too large (172781415 B) SFTP packet. Max supported packet size is 102400 B."

Author Message
blackcat

Guest


Hy! SCP working fine, but when I try to connect to the server with sftp, i allways get that message in the subject. How that can be solved? the machine is a Debian GNU/Linux Woody, with openssh and kernel 2.4.24 installed, working properly. Sad
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Are you sure you've typed the number (172781415) correctly?

The problem is typically caused by some message printed from .bashrc or similar script. It violates the SFTP protocol. .bashrc script (and others) is executed even for non-interactive (no TTY) sessions, so thay cannot print anything (not ask user to type something). Such things can be included in .profile script, which should not be executed for non-interactive sessions.

The number 172781415 represents the first four bytes read from the server. In such case it is typicaly the first four characters of the message. However the number you've posted does not represent readable text (or at least readable in latin). Typo?

BTW: I've deleted your duplicate post.
_________________
Martin Prikryl
Guest




prikryl wrote:
Are you sure you've typed the number (172781415) correctly?


Hy. This fast support is amazing. the problem was caused by a 'finger' command in the global bashrc file, outside the interactive part. thanx again!

prikryl wrote:
BTW: I've deleted your duplicate post.


okok. sorry for that, i pressed twice the submit button...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Anonymous wrote:
Hy. This fast support is amazing. the problem was caused by a 'finger' command in the global bashrc file, outside the interactive part. thanx again!


OK, I've decoded the number from the wrong end. Now I see that it represents new-line and 3 letters "Log". So it is actually the header of finger table Smile
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License