Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users

Dashboard
Notifications
Mark all as read
Q&A

What is the main reason for some website hosting companies to change ports?

+1
−3

Some website hosting companies change port 22 to some other open port.

I don't think that information security is the main reason to do that; first, because many hosting companies would explicitly state the alternative port in their documentation and second, because port scanners could generally find any alternative port.

Perhaps the main reason is that a small or starting website hosting company can have a non-virtual-computer-system with, say, two virtual-computer-systems, one with port 22 and one with port X as that allows them to save in equipment, otherwise, why doing it?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+2
−0

Many automated scanners will attempts brute forcing SSH servers running on port 22 using common username+password pairs. This is relatively easy. You just have to pick an IP range and you have as many ports to test as there are IPs in the range (one port per IP).

Change the SSH port to a different one and now there are thousands of ports to test per IP in that same range. This makes this type of attack unfeasible. Finding an open SSH port on a particular host is relatively easy, but if you're attempting to brute force thousands of hosts it may not be worth it. There are many easier targets.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!