Solved

What are the advantages/disadvantages of changing the SSH/SFTP port?

Posted on 2016-08-25
4
66 Views
Last Modified: 2016-09-02
Hi Everybody,

I read a few articles regarding the advantages and disadvantages to change the default SSH/SFTP port 22, but it's not very clear for me.
I understood when you change the default port 22 by another, you avoid the casual port scanning on the net but then why for the security staff it's not a good idea to change it?
Sorry but somebody can explain me that clearly?

Thanks,
Javier
0
Comment
Question by:Javier Gonzalez
  • 2
4 Comments
 
LVL 87

Accepted Solution

by:
rindi earned 250 total points
ID: 41770230
SSH is by nature a secure protocol. If you use another port than the original, you only hide it from those who don't know much, as you mentioned the casual person scanning your ports, and those people will probably not have the expertise to break into it. Those who know what to do will also be able to find the new port you have assigned, so to them that new port makes no difference and it won't hinder them from trying to break in.

For security staff it makes no sense as it doesn't really add any better security, but it might make people think it is more secure and then drop their guard.
0
 

Author Comment

by:Javier Gonzalez
ID: 41770254
Thanks Rindi for your clear explanation, I understood now nothing is improved by changing this port.
Gracias Amigo!
Javier
0
 
LVL 27

Assisted Solution

by:serialband
serialband earned 250 total points
ID: 41773875
Only one thing is improved when you change your port.  You will have much fewer script kiddie scanners and much smaller log files.  If you have a home server on a random DSL or Cable modem line, it helps keep your log files very small and easy to manually parse.  You should still have a proper firewall to block multiple failed ssh attempts of someone skilled that happens to find your system.

It just makes no sense on public access ssh servers to change the port.  You can still change the port on the private servers to reduce the log file sizes, but you must still check the logs for suspicious activity.  Only inexperienced sysadmins will think that changing the port is secure.  It only reduces your log file sizes.
0
 

Author Closing Comment

by:Javier Gonzalez
ID: 41781508
Thanks guys!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We all know how boring and exhausting it is to transfer huge web projects developed locally to a webserver simply via FTP. The File Transfer Protocol is a really nice solution if you need to transfer small amounts of files, but if you're plannin…
Secure Shell (SSH) is a network protocol for secure data communication, mainly used to administer remote Unix / Linux servers via command line. But it also allows the user to open a secure tunnel between a client and a server where he can send any k…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now