Jump to content

FTP server on port 21

Go to solution Solved by t33to,

How is scp better?

 

It's encrypted for starters. And two, if you have SSH running on your system, and I'm almost positive you do (if not go here: https://www.raspberrypi.org/documentation/remote-access/ssh/) you can SCP into the system using the already existing username you use to log into the system. Seems simple enough to me. :D

Will my raspberry pi get hacked if i open port 21 on my router and port forward my raspberry pi with a username and password to connect?

 

I hear that some sort of automated systems target port 21 and try and attack them

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to comment
https://linustechtips.com/topic/503733-ftp-server-on-port-21/
Share on other sites

Link to post
Share on other sites

The automated systems generally use brue force attach methods. You should set a non-generic username and a good password. Also, look into installing anti brute force tools like fail2ban.

What is fail2ban?

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to comment
https://linustechtips.com/topic/503733-ftp-server-on-port-21/#findComment-6727789
Share on other sites

Link to post
Share on other sites

I'm unfamiliar with the system on raspberry pi, but I believe it's running raspbian, which is a version of debian linux, in which case you should be able to find some kind of ftp server or system config that bans someone if they fail 10 times in a row. You can also make it so when someone attempts to log in, there is a 30 second wait time before it will respond. These kinds of systems working together is you can keep logins safer on the web. If possible, I'd do away with ftp altogether and go with SCP which uses secure shell (SSH) to login and transfer files.

Link to comment
https://linustechtips.com/topic/503733-ftp-server-on-port-21/#findComment-6734113
Share on other sites

Link to post
Share on other sites

I'm unfamiliar with the system on raspberry pi, but I believe it's running raspbian, which is a version of debian linux, in which case you should be able to find some kind of ftp server or system config that bans someone if they fail 10 times in a row. You can also make it so when someone attempts to log in, there is a 30 second wait time before it will respond. These kinds of systems working together is you can keep logins safer on the web. If possible, I'd do away with ftp altogether and go with SCP which uses secure shell (SSH) to login and transfer files.

How is scp better?

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to comment
https://linustechtips.com/topic/503733-ftp-server-on-port-21/#findComment-6736532
Share on other sites

Link to post
Share on other sites

How is scp better?

 

It's encrypted for starters. And two, if you have SSH running on your system, and I'm almost positive you do (if not go here: https://www.raspberrypi.org/documentation/remote-access/ssh/) you can SCP into the system using the already existing username you use to log into the system. Seems simple enough to me. :D

Link to comment
https://linustechtips.com/topic/503733-ftp-server-on-port-21/#findComment-6749492
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×