News for hackers. Stuff that matters.
Re:Getting SSH Port 22 by jraph on Monday February 12, 2024 @01:45AM (#39342189)
Here it's different than this, the question is rather "Can it be recorded that port 22 is reserved for my tool so it becomes a worldwide convention?"
Re:Getting SSH Port 22 by otabdeveloper4 on Monday February 12, 2024 @05:52AM (#39343535)
There is no worldwide convention. Go ahead and run your services on whatever ports. That's what I do.
Re:Getting SSH Port 22 by rob on Monday February 12, 2024 @07:10AM (#39343946)
No convention at all, just FTP defaulting to 21 and SSH to 22 and websites to 80 randomly.
Re:Getting SSH Port 22 by otabdeveloper4 on Monday February 12, 2024 @08:05AM (#39344330)
There is no Internet Police that will give a fine for using the 'wrong' ports.

(In fact, not running SSH on port 22 is an industry best practice in 2024, sadly.)

Re:Getting SSH Port 22 by jraph on Monday February 12, 2024 @08:32AM (#39344530)
You are thinking of a law, not a convention.

A convention is a common language. It is something you have the right to break when needed / suitable but which is otherwise nice to follow when interacting with others.

Such conventions allow you to omit the port when typing a URL in a browser for instance. They allow taking nice shortcuts and avoiding verbose / irrelevant technical details.

(now, some conventions are mandated by laws indeed. For instance, if you are setting up electricity somewhere, you'd better use the right colors. One might argue that we ought to call such things rules)

Re:Getting SSH Port 22 by hughesjj on Monday February 12, 2024 @03:15PM (#39349836)
Conventions are defaults. Every browser I have assumes port 80 (or 443) for http (or https) by default for a reason.
Re:Getting SSH Port 22 by DonHopkins on Monday February 12, 2024 @06:04AM (#39343603)
Yes there most certainly is a worldwide convention. Please read the article before commenting. Just because you don't happen to follow the convention does not mean it doesn't exist and isn't worldwide.
Re:Getting SSH Port 22 by ninkendo on Monday February 12, 2024 @07:02PM (#39352439)
> There is no worldwide convention.

Yeah, if only there were an authority that we could agree on to assign numbers for internet things like ports.

Some sort of internet assigned number authority…

https://www.iana.org/assignments/service-names-port-numbers/...