[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Changing ftp timeout



On Sat, 17 Mar 2001, Kevin Cawthorne wrote:

> Hi all,
> 
> can anyone tell me how to extend the ftp timeout on RAQ3?
> Also changing the telnet and ftp login messages.

the telnet message before login is in /etc/issue.net, the part after login
is in etc/motd
However issue and issue.net are overwritten on reboot by the init scripts,
(with the machine version) if you want th message to stick you will have
to comment out that line in rc.local

if you just want the ftp server to stop identifying your machine, set

DeferWelcome off

in proftp.conf, this drops the hostname id before login

I don't really recommend adding a welcome message unless you must, it
still causes problems for some clients, and noone reads it anyhow ;)

if you really want a message, do something like this

DisplayConnect                  /etc/ftplogin.txt

(or some file with a message, assuming you want it global, proftp can also
display per IP messages and user specific messages, i'll leave you to
reading the docs ;)

to make it stop disconnecting you , add

TimeoutStalled                  900

(900 seconds, or whatever you like)

gsh

ps: usefull message to use/adapt

http://www.cert.org/advisories/CA-1992-19.htm