From owner-freebsd-questions Mon Sep 30 3: 6:16 2002 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 2986037B401 for ; Mon, 30 Sep 2002 03:06:15 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F5F943E65 for ; Mon, 30 Sep 2002 03:06:14 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g8UA6AOL052288; Mon, 30 Sep 2002 11:06:10 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g8UA65hH052287; Mon, 30 Sep 2002 11:06:05 +0100 (BST) Date: Mon, 30 Sep 2002 11:06:05 +0100 From: Matthew Seaman To: Adam Bender Cc: questions@FreeBSD.ORG Subject: Re: sftp / scp not working? Message-ID: <20020930100605.GC51277@happy-idiot-talk.infracaninophi> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-13.4 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 30, 2002 at 01:46:13AM -0400, Adam Bender wrote: > > I'm running FreeBSD 4.6.2. I can ssh into the box fine, but sftp gives > this error message: > unix13:~/$ sftp adam@machine.name > Connecting to machine.name... > adam@machine.name's password: > Received message too long 1500476704 > unix13:~/$ > > and scp gives this one: > > unix13:~/$ scp foo adam@machine.name: > adam@machine.name's password: > stty: You can search for documentation on a keyword by typing > unix13:~/$ stdin isn't a terminal > stty: stdin isn't a terminal > stty: stdin isn't a terminal > stty: stdin isn't a terminal > Write failed flushing stdout buffer. > > unix13:~/$ > > Anybody have any idea what I can do to transfer files to/from my machine, > besides ssh'ing into it, and the sftp'ing out? Unfortunately that's not sufficient information to diagnose exactly what's wrong. Could you try running your scp and sftp commands again with liberal use of the '-v' (verbose) flag: sftp -v -v -v adam@machine.name If that doesn't tell you immediately what's wrong, please cut'n'paste the output of the command into a message to this list, plus tell us what ssh client you're using and any modifications you've made to the default sshd configurationon your FreeBSD box. There's also the secureshell@securityfocus.com mailing list, which has searchable archives available at http://marc.theaimsgroup.com/?l=secure-shell&r=1&w=2 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message