Go4Hosting
https://go4hosting.in/forum/

How to force the usage of sFTP on my Dedicated Server?
https://go4hosting.in/forum/viewtopic.php?f=5&t=23571
Page 1 of 1

Author:  Karishma Sikarwar [ Wed Sep 02, 2015 3:21 pm ]
Post subject:  How to force the usage of sFTP on my Dedicated Server?

How to force the usage of sFTP on my Dedicated Server?

Author:  Ishan Goel [ Wed Sep 02, 2015 5:56 pm ]
Post subject:  Re: How to force the usage of sFTP on my Dedicated Server?

Regular FTP service and sFTP works on different ports, all you need to do is block port 21 for incoming connections. To make sure the changes, login to your Dedicated server as root via SSH and use the below listed command:

iptables -I INPUT -p tcp --dport 21 -j DROP

Kindly note that you will have to do this each time you restart the firewall.

Page 1 of 1 All times are UTC + 5:30 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/