freesd boxes refusing scp and sftp?

Benjamin Lutz benlutz at
Sun Jun 4 08:04:09 PDT 2006

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 at zeus ~]$ sftp tyche
> Connecting to tyche...
> Password:
> Received message too long 538976288
> [jhorne at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list