From owner-freebsd-questions@FreeBSD.ORG Wed Jun 9 00:08:35 2010 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 B863C106564A for ; Wed, 9 Jun 2010 00:08:35 +0000 (UTC) (envelope-from x4500fbsd@yahoo.com) Received: from web120207.mail.ne1.yahoo.com (web120207.mail.ne1.yahoo.com [98.138.85.174]) by mx1.freebsd.org (Postfix) with SMTP id 699F88FC14 for ; Wed, 9 Jun 2010 00:08:35 +0000 (UTC) Received: (qmail 53642 invoked by uid 60001); 8 Jun 2010 23:41:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1276040514; bh=8J67rSBD3J5tT2eAXdXi2vS+VaO/i5vmfTjepKK1SUE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=zIi/Ewa6XbTmRyA/kk1LoZLcugwnr3m0YMWi5OpjgE1nmBAhrkXnf2N09cUpb9kN/YCJ1Ztyw3Mfb4fLXAiLpweTDzzs710+Wr+LMaF5D/djzJXMuYXdiI7t2y9qhd5STPMy1l0ad1B86Tl2uXZWaYvypoxFaUt3ax1w1ZtbftI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=hb4E8lgLN2HcC4z1GvD0iw3Vijp2Zu4N3ZqpXuB7qHC5854PDcJjVZL7fceG4HwAfE5AmTloYvooj5qExE2WBNeVz7yPIPBNuthIJUYc8rIwT0QsjwaNGgAH/UIj62t4SQ+6YdhbaZxSb3UcQ+IASMa3pIUyg/n9MMaQLgMBLY4=; Message-ID: <101691.53333.qm@web120207.mail.ne1.yahoo.com> X-YMail-OSG: BM2e0jgVM1mMncBJS.F5XgNJAUgEw6BHGWIQ1GwsT40._dM pN3Y7V16VpS_WiVaGPdSXmQ0GQPrK_m.GWfgDA1MWNc4Iixeg2UntsCS9Cve vePHs01ZEd5Yxkcd6ISlyDAPyhJOoYdaHBPvEP.C8rhJQxyprdJOtT67k22H SLpnYYU.4SLGIpwxUiiZmmIrnSoicBLuQlhQP3tu_DAH4N2jo7QKC.G8mb4z afSiartKugJ5ua9pRH..Xb4PqhtdydFCUJA-- Received: from [24.5.102.43] by web120207.mail.ne1.yahoo.com via HTTP; Tue, 08 Jun 2010 16:41:54 PDT X-Mailer: YahooMailRC/397.8 YahooMailWebService/0.8.103.269680 Date: Tue, 8 Jun 2010 16:41:54 -0700 (PDT) From: Goh Sanda To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: adding output lines to my .cshrc breaks sftp and scp ... 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: Wed, 09 Jun 2010 00:08:35 -0000 I added a few lines to the bottom of my standard FreeBSD .cshrc file: echo "" w echo "" Just to show me what is going on each time I log in. The problem is, when I try to scp a file to the system, I get 'w' output echo'd to me, and no actual scp. sftp fails as well - I can no longer log in via sftp, and instead get this error: Received message too long 169882682 I don't understand why .cshrc output is breaking non-interactive SSH file transfer. Is there a way to customize my .cshrc output while still retaining scp/sftp functionality ? Thank you.