Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2015 13:11:46 +0200
From:      Polytropon <>
To:        Jeffry Killen <>
Subject:   Re: ftp timeouts?
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>