Can you SSH into port 80?
You can SSH home on port 80 even if your home server runs a webserver on port 80 too. Make sure localhost connections to SSH is not privileged (to avoid letting strangers in…) This should work if you are behind a router that allows only port 80 out.
What is a good port to use for SSH?
Port 22
Port 22 is the standard port for SSH connections. If you use a different port, it adds a little bit of security through obscurity to your system.
What’s the maximum port number?
65,535
The highest TCP port number is 65,535. The TCP protocol provides 16 bits for the port number, and this is interpreted as an unsigned integer; all values are valid, apart from 0, and so the largest port number is (2^16 – 1) or 65,535.
What is valid range of port number?
Range of port values (PORT) Valid values range from 1 through 65535. However, some of the ports in the range 1 through 1023 are used by system-supplied TCP/IP applications. If the user specifies one of these ports, it can affect the operation of those applications.
Which is the port range for SSH in Linux?
To prevent misconfiguring your server, you should choose a port from the dynamic/private ports range (e.g. 49160, 53425, 64342 and so on). When it comes to changing the ssh port number I/we mostly see 2222 as the replacement of port 22.
What are the port numbers for SSH and Telnet?
You can configure the port numbers to use for SSH and Telnet connections: The default port for SSH client connections is 22; to change this default, enter a port number between 1024 and 32,767.
Can you forward a range of ports in SSH?
SSH does not support “range” for port forwarding. It can be somehow achieved by having a more complex setup that forwards only 1 port and a proxy on both ends will act as a router the selects the right local port, but I guess this is far from what you need.
What is the maximum port number for Linux?
To set your range up to 40000 thru 65535 do the following: Be sure you understand the purpose of your server. Reducing the range too much can lead to other issues. Thanks for contributing an answer to Server Fault!