File server Problem

admiralschadler2310

New Member
YetiShare User
Wurlie User
Mar 19, 2013
19
0
0
Hello,
i have got a linux debian server but its a SFTP server.
How i can change the Type from SFTP to a FTP (Port 21) server.
Thanks
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
I don't think the script supports sftp at the moment because I think it would require libssh2 being compiled into php for the php function ssh2_connect(); to work.

A work around could be:
You could set the ftp server to use optional TLS Encryption Support, and use strong 12-18 character passwords with Uppercase/Lowercase letters, numbers and special characters.

Strong passwords, ModSecurity, changing SSH port (22) and a good firewall (CSF) will stop 99.9999% of skript kiddies and hackers from getting in, especially if you set up the firewall level to high so it permanently blocks access attempts and port scans,
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Easiest way to use optional TLS support

If you have cPanel/WHM and change the FTP Server Settings

Log in to WHM
Service Configuration
FTP Server Configuration
TLS Encryption Support > Select Optional > Save

Password strength
Log in to WHM
Security Center
Password Strength Configuration
FTP Accounts > Set the slider to the level that you want (I would suggest 80 or above).
Save

If you use the FTP Plugin, you will need to edit includes/functions.inc.php because the password will not work as it defaults the length of passwords to 8 chars.
Find:
Code:
function createPassword($length = 7)
Change to:
Code:
function createPassword($length = 12)
The max $length can be is 17

More FTP Server info
http://www.pureftpd.org
http://www.proftpd.org/