From owner-freebsd-questions@FreeBSD.ORG Sat Jul 16 05:28:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6000B106564A for ; Sat, 16 Jul 2011 05:28:34 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8F88FC0C for ; Sat, 16 Jul 2011 05:28:33 +0000 (UTC) Received: by gxk28 with SMTP id 28so963215gxk.13 for ; Fri, 15 Jul 2011 22:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=TvjOkmQhOzyCrs8x1qhaF5D+IG02YDrgauI8nUBteeA=; b=QhkBRNSrx9au0j1Ji2CL26iTn+o4YinA9fKe3abAcPwcyTS+kztRxJgYLob4jbchxb eqYgjQ2KiogVgWqGcsyQDluuLr4iQlNhiHymNwMA9HgT7jotFSTIrQCkXQEQzq8+XDTC yMFVSSQcnQyQgY5ktzM58v1okK5hgKwTrSlrA= Received: by 10.101.186.35 with SMTP id n35mr3929818anp.84.1310792341714; Fri, 15 Jul 2011 21:59:01 -0700 (PDT) Received: from [192.168.5.160] (adsl-98-87-190-20.bna.bellsouth.net [98.87.190.20]) by mx.google.com with ESMTPS id l38sm1972782ani.18.2011.07.15.21.59.00 (version=SSLv3 cipher=OTHER); Fri, 15 Jul 2011 21:59:00 -0700 (PDT) Message-ID: <4E211A94.4040503@gmail.com> Date: Fri, 15 Jul 2011 23:59:00 -0500 From: Noel User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A4020F82CF8BB4C8C928EFC@UTD69340.local> In-Reply-To: <4A4020F82CF8BB4C8C928EFC@UTD69340.local> X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Problems with sshd 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: Sat, 16 Jul 2011 05:28:34 -0000 On 7/15/2011 10:12 PM, Paul Schmehl wrote: > I manage a small hobby website for some friends. The system has been running fine for quite a while, but suddenly the owners are having problems using WinSCP to transfer files to the server. The only thing that has changed recently is their internet service, and I'm inclined to think that's the cause. They are using a Verizon hotspot, whatever that is. (They live in the country, and options for internet service are limited.) mobile hotspot - cellphone data connection rebroadcast on local wifi (google mifi). I've used Verizon's. Quality of the connection depends on the quality of the cellphone signal, and can range from very good to "connected but unusable". > But I'm the thorough sort, so I've enabled verbose logging and been googling for possible causes. One thing I've noticed is that their IP address changes quite frequently, but this snippet from the log shows that it also happens with the same IP. (I changed the username to protect their privacy.) They will get a new IP every time the device disconnects/reconnects. If they aren't turning it off and back on, this is an indicator of the connection dropping completely. > Checking the archived logs, which go back several months, the "error: ssh_msg_send: write" entry appears occasionally whenever they login using WinSCP, so I assume it's some incompatibility about the program that rears its ugly head from time to time. I suspect it has no significance wrt this particular problem. We use winscp (occasionally over cellular) and get no such errors. I'm guessing the message means it couldn't write to the socket because the connection dropped. > Any thoughts on possible things to check for would be most welcome. I think it's an inadequate data connection. Sometimes repositioning the mifi will help -- try the other side of the house or near a window. -- Noel Jones