Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

It is currently Thu Jan 26, 2023 8:58 pm

Message body:
Enter your message here, it may contain no more than 60000 characters. 

:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.

Topic review - How to change ProFTPd welcome message with ServerIdent
Author Message
Post subject: How to change ProFTPd welcome message with ServerIdent  |  Post Posted: Wed Jan 28, 2015 4:52 am
Change proftpd default welcome message, change proftp signature.
Afater installing proftpd and you ftp to the server, the server displays a standard welcome message.

$ ftp localhost
Connected to localhost.
220 ProFTPD 1.2.8 Server (localhost) []
Name (localhost:user):

The line 220 ProFTPD 1.2.8 Server will be displayed to anyone who does an ftp connection to your server.

In case you don't want everyone to see what FTP server software and specially what version of the ftp server are you running, you can customize all these with ServerName and ServerIdent ProFTPD directives.

ServerIdent - Set the message displayed on connect
ServerIdent [ ServerIdent off|on [identification string]]
Default: ServerIdent on "ProFTPD [version] Server (server name) [hostname]"The ServerIdent directive sets the default message displayed when a new client connects. Setting this to off displays "[hostname] FTP server ready." If set to on, the directive can take an optional string argument, which will be displayed instead of the default text. Sites desiring to give out minimal information will probably want a setting like ServerIdent on "FTP Server ready.", which won't even reveal the hostname.

ServerIdent on "Welcome to FTP Server"

ServerName -- Configure the name displayed to connecting users
ServerName [ ServerName "name"]
Default: ServerName "ProFTPD Server [version]"
The ServerName directive configures the string that will be displayed to a user connecting to the server (or virtual server if the directive is located in a block).

Next go to your proftpd.conf file (/usr/local/etc/proftpd.conf on FreeBSD or /etc/proftpd.conf on Linux) and modify ServerName and ServerIdent lines (or add them if they don't exist) to whatever you wish and test it.

$ ftp localhost
Connected to localhost.
My FTP Server
Name (localhost:user):
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list

Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]