Note that the banner does not replace the greeting text, which, by default, displays the hostname and server information, such as

220 shuttle2 FTP server (Version wu-2.6.2-8) ready.

To hide version information, use the greeting command in ftpaccess with a keyword, such as terse , like so:

greeting terse

FTP users will then see a short messages like this as part of the login text:

220 FTP server ready.

Also, not all FTP clients can handle multiline responses from the FTP server. The banner<path> command is how the banner line passes the file contents to the client. If a client cannot interrupt multiline responses, the FTP server will be useless to them. You should also edit the default banner to remove identity and version information.

Was this article helpful?

0 0

Post a comment