Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2006 17:03:49 +0200
From:      Benjamin Lutz <benlutz@datacomm.ch>
To:        freebsd-questions@freebsd.org
Cc:        Jonathan Horne <jhorne@dfwlp.com>
Subject:   Re: freesd boxes refusing scp and sftp?
Message-ID:  <200606041703.55446.benlutz@datacomm.ch>
In-Reply-To: <200606040945.08702.jhorne@dfwlp.com>
References:  <200606040945.08702.jhorne@dfwlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEgvZbgShs4qbRdeQRAnnMAKCKQPnVILgng6bHnj/P12pZfdKs2ACeMV1P
e2S14KwS/LBcNUln+eSb2XE=
=Cnpa
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606041703.55446.benlutz>