From owner-freebsd-questions@FreeBSD.ORG Sat May 23 11:11:52 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 578C7938 for ; Sat, 23 May 2015 11:11:52 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AAF01268 for ; Sat, 23 May 2015 11:11:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-181-19.dynamic.qsc.de [92.195.181.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E4C9624CFF; Sat, 23 May 2015 13:11:47 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t4NBBk4o001959; Sat, 23 May 2015 13:11:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 23 May 2015 13:11:46 +0200 From: Polytropon To: Jeffry Killen Cc: freebsd-questions@freebsd.org Subject: Re: ftp timeouts? Message-Id: <20150523131146.dab061dc.freebsd@edvax.de> In-Reply-To: <4CD867E3-5084-4B57-B364-6D07ABA8231D@prodigy.net> References: <4CD867E3-5084-4B57-B364-6D07ABA8231D@prodigy.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 11:11:52 -0000 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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...