Re: can UDP be used as ssh transport?

From: Barry Margolin (barry.margolin_at_level3.com)
Date: 07/07/03


Date: Mon, 07 Jul 2003 15:27:43 GMT

In article <dd7dbbd4.0307052335.7429d336@posting.google.com>,
Wayne Shao <waynedshao@yahoo.com> wrote:
>I read somewhere that SSH can run over TCP port 22 or UDP port 22?
>
>But I thought SSH is over TCP 22 only. Can UDP be used as ssh transport??

No, SSH requires a byte stream transport.

What you probably saw was a reserved port listing. In many cases, IANA has
reserved both UDP and TCP ports for the same service, just for
consistency. In some cases it's meaningful to run a service over either
UDP or TCP, but in most cases it doesn't make sense.

-- 
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


Relevant Pages

  • Re: transparent bridge and ARP proxy confusion
    ... Here is the behavior of TCP and UDP. ... Using SSH for TCP and DNS for UDP. ... the ARP cache on FreeBSD bridge: ...
    (freebsd-net)
  • iptables rule for ssh port forwarding
    ... TCP for control,i want to ssh the tcp data but if I do an ssh tunnel and I ... handshaking is ok but then also the UDP data is sent to localhost and I ... created the ssh tunnel) that sends all the tcp packets directed to a certain ...
    (comp.os.linux.networking)
  • Re: SSH - TCP only
    ... > Is it possible to have SSH over TCP only, instead of using both TCP and UDP? ... so an attacker can't add/delete packets. ...
    (comp.security.ssh)
  • Re: UDP port 22
    ... >written that UDP port 22 is used by SSH. ... They also provide similar UDP assignments for a number of other ... "To the extent possible, these same [TCP] port ...
    (comp.security.ssh)
  • NFS problem with recent 2.6 kernels (also serial console weirdness)
    ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... mounted filesystem with ordered data mode. ... Mounted root (ext3 filesystem) readonly. ...
    (Linux-Kernel)