From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 15:32:34 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21E8016A938 for ; Sun, 4 Jun 2006 15:32:34 +0000 (UTC) (envelope-from jhorne@dfwlp.com) Received: from zeus.int.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1597143D45 for ; Sun, 4 Jun 2006 15:32:17 +0000 (GMT) (envelope-from jhorne@dfwlp.com) Received: from smarty.int.dfwlp.com (c-24-1-139-244.hsd1.tx.comcast.net [24.1.139.244]) (authenticated bits=0) by zeus.int.dfwlp.com (8.13.6/8.13.6) with ESMTP id k54FWGpf050210 for ; Sun, 4 Jun 2006 10:32:16 -0500 (CDT) (envelope-from jhorne@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Sun, 4 Jun 2006 10:31:52 -0500 User-Agent: KMail/1.9.1 References: <200606040945.08702.jhorne@dfwlp.com> <200606041703.55446.benlutz@datacomm.ch> In-Reply-To: <200606041703.55446.benlutz@datacomm.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606041031.52261.jhorne@dfwlp.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on zeus.int.dfwlp.com Subject: Re: freesd boxes refusing scp and sftp? 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: Sun, 04 Jun 2006 15:32:35 -0000 On Sunday 04 June 2006 10:03, Benjamin Lutz wrote: > On Sunday 04 June 2006 16:45, Jonathan Horne wrote: > > my freebsd boxes are refusing connections (or erroring them out, im not > > sure which it is at this time). when i try to scp a file or make a sftp > > connection, this is what i get: > > > > [jhorne@zeus ~]$ sftp tyche > > Connecting to tyche... > > Password: > > Received message too long 538976288 > > [jhorne@zeus ~]$ > > > > i get something similar (yet equally aggravating!) when i scp too. can > > someone point me in the right direction here? > > For scp and sftp to work, the machine must not print anything at login > time. So if you, say, have your machine print a fortune cookie at login, > you need to disable that. > > Cheers > Benjamin ohhhhhhhhhhh. well that explains it... i was having my .bashrc give me a 'cal' upon login. i guess ill take that off :) thanks! jonathan