Re: UDP port 22

From: Jacob Nevins (
Date: 04/28/04

Date: 28 Apr 2004 12:55:51 +0100 (BST)

Mike Mimic <> writes:
>I found out that on my system (Debian) there is in /etc/services
>written that UDP port 22 is used by SSH. How is that? Is not
>ssh only TCP? Is this a mistake?

How strange. True of my system too, and of the IANA's registry:

They also provide similar UDP assignments for a number of other
well-known protocols such as ftp, telnet, and smtp, none of which have
UDP components as far as I'm aware.

Perhaps they just do it to avoid those ports being assigned to anything
else, to avoid confusion. "To the extent possible, these same [TCP] port
assignments are used with the UDP [...]".

Relevant Pages

  • Re: ipfw and nmap
    ... > even be correct but I have a bsd box that is simply providing me SSH ... add allow tcp from any to me 22 setup in via fxp0 keep-state ... Note too that there is nothing to prevent port scanners simply setting ... the 'SYN' flag in the probe packets they send to your server. ...
  • Re: Open port PIX 501
    ... :i can't open the port in my PIX. ... :I need open the port 1000 to point to the IP ... in practice only DNS servers doing zone transfers need tcp. ... of UDP, it would be a highly unusual client which did not stick ...
  • Re: Looking for program that emails me when dhcp addr changes
    ... For SSH all you need forwarded is TCP Port 22... ... >>participate in TCP connections or UDP conversations it initiates but ...
  • Re: UDP question
    ... Re: UDP question.eml ... >>> Most modern services utilise TCP, ... The only open port should be the port I use for Open VPN, ...
  • Re: Re[5]: Assymetric NIC performance problem
    ... I've got a FreeBSD file server running Samba, file upload speeds are okay, ... Client connecting to, TCP port 5001 ... Sorry, I didn't know that UDP bandwidth must be specified manually, ...