From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 12:52:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FB9E1065672 for ; Mon, 1 Dec 2008 12:52:31 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 082C88FC17 for ; Mon, 1 Dec 2008 12:52:30 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 0DBE6AFC1C6; Mon, 1 Dec 2008 03:52:30 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 1 Dec 2008 13:52:26 +0100 User-Agent: KMail/1.9.7 References: <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> In-Reply-To: <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> Cc: Eugene Pimenov Subject: Re: Pasting via ssh causes data loss X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 12:52:31 -0000 On Monday 01 December 2008 10:33:17 Eugene Pimenov wrote: > On 1 =C4=C5=CB, 08:31, Mel wrote: > > On Sunday 30 November 2008 17:53:21 Eugene Pimenov wrote: > > > 30.11.2008, =D7 19:36, Mel =CE=C1=D0=C9=D3=C1=CC(=C1): > > > > On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: > > > > > > > > Not sure, but can you copy files via cat? As in: > > > > cat /tmp/foo | ssh machine "cat - >/tmp/foo" > > > > > > > > If that isn't truncated, I can only think of clipboard limitations > > > > or tty > > > > issues. > > > > > > No, it's not truncated. All of 6060 bytes are copied. > > > > > > What kind of tty issues/clipboard limitations might it be? > > > > *If* it's a tty issue, should be reproducable with telnet. If it's not, > > then I suggest logging in with ssh -v and see if anything weird comes u= p. > > The oddball out of the box answer would be that some character gets > > translated as EOF from linux to bsd by the term settings, but it's a > > stretch. > > Can't check telnet... there's no telnet demon around. inetd: $ grep telnet /etc/inetd.conf #telnet stream tcp nowait root /usr/libexec/telnetd telnetd #telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd Quick setup: remove appropreate hashmark above /etc/rc.d/inetd onestart > I tried ssh -vvv, nothing between connect and disconnect. > > It's definitely not an EOF. It just loses some part of data, doesn't > stop receiving after some point. Where does it get lost? Meaning, does it get over the wire? Hard to check=20 encrypted, but a 3k diff should show up in number of the IP packets sent. I= s=20 it possible to compare tcpdump linux <-> linux vs linux <-> freebsd on the= =20 receiving end? =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part.