From owner-freebsd-net@FreeBSD.ORG Thu Jun 19 13:43:38 2008 Return-Path: Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B78901065670 for ; Thu, 19 Jun 2008 13:43:38 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from out-mx.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by mx1.freebsd.org (Postfix) with ESMTP id 883E78FC13 for ; Thu, 19 Jun 2008 13:43:38 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from admin.crosswinds.net (admin.crosswinds.net [216.18.117.2]) by out-mx.crosswinds.net (Postfix) with ESMTP id 743311E8D7D for ; Thu, 19 Jun 2008 09:54:14 -0400 (EDT) Received: by admin.crosswinds.net (Postfix, from userid 1001) id 0F9B86C85A; Thu, 19 Jun 2008 09:43:38 -0400 (EDT) Date: Thu, 19 Jun 2008 09:43:38 -0400 From: Tony Holmes To: freebsd-net@FreeBSD.ORG Message-ID: <20080619134338.GA11325@crosswinds.net> References: <20080619114541.GA9804@crosswinds.net> <200806191335.m5JDZheF081044@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <200806191335.m5JDZheF081044@lurza.secnetix.de> User-Agent: Mutt/1.5.6i Cc: Subject: Re: SCP/SFTP Brain Fart X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 13:43:38 -0000 > It seems that your shell profile executes stty(1) even > for non-interactive shells. That is wrong. Make sure > that you shell profiles and rc files do not call stty > or produce any output for non-interactive sessions. > Such output confuses scp. So obvious! The offender: =2Elogin stty erase =08 This was a carry over from ages ago when my chosen terminal s/w didn't support the backspace mapping. Thank you and I will bear the pointy hat proudly! --=20 Tony Holmes Ph: (416) 993-1219 Founder and Senior Systems Architect Crosswinds Internet Communications Inc.