From owner-freebsd-questions@FreeBSD.ORG Sat May 23 17:47:33 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21C3F1BB for ; Sat, 23 May 2015 17:47:33 +0000 (UTC) Received: from nm10-vm6.access.bullet.mail.gq1.yahoo.com (nm10-vm6.access.bullet.mail.gq1.yahoo.com [216.39.63.158]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3F591A67 for ; Sat, 23 May 2015 17:47:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prodigy.net; s=s2048; t=1432403244; bh=WJotT72wmmY7ivWeLd4mINiphyto+7u1wnIo84Pui/c=; h=Cc:From:To:In-Reply-To:Subject:Date:References:From:Subject; b=tre6A0T+fL7CO5HwxwFzEfsoVxSp7+TsJT6tHMQmo1WPQwbaP/oKAA0/QJS7CrLT/ZsgmeI3z8TAxdDr2DrRnBqwmwalkL0srEIWWBWFlkhmB9bKgf/Wb80Ju3jn/YwVtj5XdPkTFZbpuuy8vwaCjbzV02x7ssSWJxsl2UTKKQ9HMf+JMG0rZw60tXUPcr03kWqsPouBVMFR6b0BPdKOko0cG55fCUS9fO4WfDhRJk51oXRX4PMBPd09DVRdL/MGX1OVgeDgGojdciDdyFrDttfEVRserCIqd3Z0J8CoIwWKbpLHxqwrvBM6ZRSjMcKRLDHPeb7pae0iKIYR85U9Hw== Received: from [216.39.60.175] by nm10.access.bullet.mail.gq1.yahoo.com with NNFMP; 23 May 2015 17:47:24 -0000 Received: from [67.195.23.147] by tm11.access.bullet.mail.gq1.yahoo.com with NNFMP; 23 May 2015 17:47:24 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.gq1.yahoo.com with NNFMP; 23 May 2015 17:47:24 -0000 X-Yahoo-Newman-Id: 958772.49706.bm@smtp119.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: SF_YQ38VM1n8ri2oKvP4_Z9DVGwkTagYSTo1T4wbrvzoQV2 8kW1poo0mCilgiqmbbMjmYsYEPRxWXDhvhe24RE2AQYEjm4Bhe2ITzVlfjfl 532vCRQQlomheYn6TRVXP_I042xYwtUlj6dZU_JDT6swqF7DQP8md5LErEE1 c0uqs7kXIlJcGHpKii0ZQSlr54NTLlIMnsdbk.b.sgeRhTE4ogZ_17z20opO MlWIasxnfZS2OHEOLVBx2T6LWDICloWXx_OIMft7PMYymJiTqTDeqxUyYwqW y77S62rx1_Emz7BCo0tMNLuFb2nEbCH5EjNkGfOf_asW67gEIOowAGeklKKv CCs.L_bVE1vwn6fsgcD9TnJ0h3s5XOa0bjtsKoCQUXo6MMafXRYEGncGtQdP GzaTqollJw2PmQorXwl2FVZNi7kYwlDJJ1eXrXpqAGAQLLjOXjtxvNt8ka1_ VwtWKmcQGodJvvQCBglFRcZplBmqdVPPmxf73peSF0.ZHlczgIUtFBiWa9_p 1wSgPB151.XcdlvLqC.HPzNSNHTFF6PjIQB5AipMe0FHTJug. X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG Cc: freebsd-questions@freebsd.org Message-Id: <30B08A68-1183-474F-B221-49400D1D9BEE@prodigy.net> From: Jeffry Killen To: Polytropon In-Reply-To: <20150523131146.dab061dc.freebsd@edvax.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: ftp timeouts? Date: Sat, 23 May 2015 10:47:23 -0700 References: <4CD867E3-5084-4B57-B364-6D07ABA8231D@prodigy.net> <20150523131146.dab061dc.freebsd@edvax.de> X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 17:47:33 -0000 On May 23, 2015, at 4:11 AM, Polytropon wrote: > On Fri, 22 May 2015 18:37:17 -0700, Jeffry Killen wrote: >> I use another machine on local network to connect to it via ftp. >> But I >> notice the ftp >> connection from the client is dropped after a certain amount of >> inactivity. If I open a file >> and spend too much time editing the file before saving back to the >> server, the connection >> is delayed for some 30 seconds before the save process is executed. >> >> It also seems to be using SFTP because when I first make the >> connection my >> ftp client (gui Fetch on Mac OSX 10.6x) asks me to enter the password >> even >> though it is already in the shortcut record. >> >> What configuration file would this be dependent on. And what >> value(s)? >> >> Note: I do have ftp called by inetd. > > You can do the following: First, read "man ftpd", then use > the -t flag in /etc/ined.conf, for example: > > ftp stream tcp nowait root /usr/libexec/ftpd ftpd -ll -t 60 > ^^^^^^^^^^^^^^ > > This will provide a timeout of 60 minutes. Clients _might_ > request a lower timeout value, so check your client's settings > as well. > Thank you JK