February 27, 20206 yr I recently upgraded to 6.8.2 . I found the SSH port number in the GUI under setttings / management access, changed it to something other than the default of 22, rebooted, and the new port number is working. But, /etc/services still reports the default port of 22? > cat /etc/services | grep -i ssh ssh 22/tcp #Secure Shell Login ssh 22/udp #Secure Shell Login sshell 614/tcp #SSLshell sshell 614/udp netconf-ssh 830/tcp #NETCONF over SSH netconf-ssh 830/udp #NETCONF over SSH x11-ssh 6010/tcp #Unofficial name, for convenience x11-ssh 6010/udp
February 27, 20206 yr /etc/services file is an information file documenting standard ports and name associated to it. It does not document what ports on a server is running what service. So like you have observed, the standard registered ssh port is 22, but you can run an ssh server on any port you choose/want.
February 28, 20206 yr Author 14 hours ago, ken-ji said: /etc/services file is an information file documenting standard ports and name associated to it. It does not document what ports on a server is running what service. So like you have observed, the standard registered ssh port is 22, but you can run an ssh server on any port you choose/want. After doing a little research, I found any three of these commands will report the actual port in use: netstat -tulpn | grep LISTEN ss -tulpn lsof -i -P -n | grep LISTEN
Archived
This topic is now archived and is closed to further replies.