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

FAQ
It is currently Wed Oct 04, 2023 9:27 pm


Ftp, sftp, scp, rsync and other data transfer daemons.

Author Message
mandrei99
Post  Post subject: How to change ProFTPd welcome message with ServerIdent  |  Posted: Wed Jan 28, 2015 4:52 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

How to change ProFTPd welcome message with ServerIdent

Change proftpd default welcome message, change proftp signature.
Afater installing proftpd and you ftp to the server, the server displays a standard welcome message.

Code:
$ ftp localhost
Connected to localhost.
220 ProFTPD 1.2.8 Server (localhost) [127.0.0.1]
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.

Code:
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.

Examples:
ServerIdent on "Welcome to FTP Server"


ServerName -- Configure the name displayed to connecting users
ServerName [ ServerName "name"]
Code:
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.

Code:
$ ftp localhost
Connected to localhost.
My FTP Server
Name (localhost:user):





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "How to change ProFTPd welcome message with ServerIdent"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Vsftpd "425 Security: Bad IP connecting." error message.

debuser

0

11779

Sun Jun 13, 2010 1:28 pm

debuser View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
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 ]



phpBB SEO