Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

/etc/services does not report correct ssh port# (SOLVED)

Featured Replies

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

/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.

  • 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

  • wmcneil changed the title to /etc/services does not report correct ssh port# (SOLVED)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.