From owner-freebsd-net@freebsd.org Mon Feb 29 16:17:55 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F6EFAB866D for ; Mon, 29 Feb 2016 16:17:55 +0000 (UTC) (envelope-from chris@stankevitz.com) Received: from mango.stankevitz.com (mango.stankevitz.com [208.79.93.194]) by mx1.freebsd.org (Postfix) with ESMTP id 5E3DA1A9C for ; Mon, 29 Feb 2016 16:17:54 +0000 (UTC) (envelope-from chris@stankevitz.com) Received: from Chriss-MacBook-Pro.local (209-203-101-124.static.twtelecom.net [209.203.101.124]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mango.stankevitz.com (Postfix) with ESMTPSA id 2BC605C11E for ; Mon, 29 Feb 2016 08:10:01 -0800 (PST) To: "freebsd-net@freebsd.org" From: Chris Stankevitz Subject: sshd TcpRcvBuf Message-ID: <56D46D58.6080708@stankevitz.com> Date: Mon, 29 Feb 2016 08:10:00 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 16:17:55 -0000 Hello, The ssh TcpRcvBuf option [1] works well when running an ssh client to indicate that the ssh client should have a large TCP receive buffer. This is a good workaround until bug 206716 [2] is fixed for people who want their ssh client to receive a lot of data. I have an ssh server that wants to received a lot of data. Question: how do I set TcpRcvBuf on the ssh server? It's undocumented so I guessed. Neither sshd_config ("TcbRcvBuf=8192") nor sshd_flags ("-oTcpRcvBuf=8192") worked. Thank you, Chris [1] ssh -oTcpRcvBuf=8192 user@host [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206716