Starting SFTP connection on port 23 for servers with DirectAdmin
The following tutorial on how to run a safe CONNECTIONS SFTP just a few steps for servers with the panel DirectAdmin.
The process is really simple and make it in the exact moments.
Below a way for servers that use more CustomBuild version 1.X
1 2 3 4 5 6 7 | cd /usr/local/directadmin/custombuild ./build update ./build set proftpd yes mkdir -p custom/proftpd wget -O custom/proftpd/configure.proftpd http://files.directadmin.com/services/all/sftp/configure.proftpd.sftp chmod 755 custom/proftpd/configure.proftpd ./build proftpd |
2) Make a copy of the old configuration, and download the new configuration:
1 2 3 4 5 6 | cd /etc cp proftpd.conf proftpd.conf.backup wget -O proftpd.conf http://files.directadmin.com/services/all/sftp/proftpd.conf wget -O proftpd.sftp.conf http://files.directadmin.com/services/all/sftp/proftpd.sftp.conf perl -pi -e 's/\|SERVER_IP\|/1.2.3.4/' proftpd.conf perl -pi -e 's/\|SERVER_IP\|/1.2.3.4/' proftpd.sftp.conf |
1.2.3.4 – Of course, replace the server IP.
In the case CustomBuild version 2.0 we issue the following commands:
1 2 3 4 | cd /usr/local/directadmin/custombuild mkdir -p custom/proftpd/conf wget -O custom/proftpd/conf/proftpd.conf http://files.directadmin.com/services/all/sftp/proftpd.conf ./build proftpd |
Related entries:
RoundCube: Could not save new password. Connection error. Recv failure: Connection reset by peer Nap...
Installing SSL Certificate for the mail server DirectAdmin
PhpMyAdmin - time change import database
Installation of the redis module for the server with DirectAdmin
Own roundcube address on server with DirectAdmin and OpenLiteSpeed