From owner-ssh@clinet.fi  Fri Jan 16 18:21:59 1998
Received: from lohi.clinet.fi (majordom@lohi.clinet.fi [194.100.0.7]) by hutcs.cs.hut.fi (8.8.8/8.8.8) with ESMTP id SAA00488; Fri, 16 Jan 1998 18:21:58 +0200 (EET)
Received: (from majordom@localhost)
	by lohi.clinet.fi (8.8.8/8.8.6) id SAA25051
	for ssh-outgoing; Fri, 16 Jan 1998 18:06:11 +0200 (EET)
X-Authentication-Warning: lohi.clinet.fi: majordom set sender to owner-ssh@clinet.fi using -f
Received: from nukkekoti.cs.hut.fi (nukkekoti.cs.hut.fi [130.233.40.128])
	by lohi.clinet.fi (8.8.8/8.8.6) with ESMTP id SAA24980
	for <ssh@clinet.fi>; Fri, 16 Jan 1998 18:05:39 +0200 (EET)
Received: from hiekkalaatikko.cs.hut.fi (hiekkalaatikko.cs.hut.fi [130.233.40.178])
	by nukkekoti.cs.hut.fi (8.8.8/8.8.8/1.19) with ESMTP id SAA01970
	for <ssh-mailgate@niksula.hut.fi>; Fri, 16 Jan 1998 18:05:26 +0200 (EET)
Received: (from news@localhost)
	by hiekkalaatikko.cs.hut.fi (8.8.8/8.8.8/1.9) id RAA08036
	for ssh-mailgate@niksula.hut.fi; Fri, 16 Jan 1998 17:22:09 +0200 (EET)
Received: from GATEWAY by news.cs.hut.fi with netnews
	for ssh-mailgate@niksula.hut.fi (ssh@clinet.fi)
To: ssh@clinet.fi
Date: 15 Jan 1998 19:00:49 GMT
From: raye@uiuc.edu (Geoff Raye)
Message-ID: <69lmd1$7vn$1@vixen.cso.uiuc.edu>
Organization: MEoW, Inc.
References: <v0313032bb0e35db20973@[199.165.157.57]>
Reply-To: geoff@raye.com
Subject: Re: ssh and what port
Sender: owner-ssh@clinet.fi
Precedence: bulk

Chris J. Magnuson <chrism@peakpeak.com> wrote:
>Is ssh using only port 22?  Also, are there any entries that need to be
>added to /etc/services to enable it?  Our /etc/services doesn't have any
>entries for port 22 in it.

ssh uses 22 for the main server, and will also allocate ports in the
6000 range for X client forwarding.  (This can cause problems for those
who allow users to create additional local X servers.)

Adding a line like:
ssh             22/tcp		# secure shell
might be a decent idea, just to make netstat output look better, but isn't
required for the server or client to work.

Geoff

-- 
Geoff Raye          "The cat has yet to attack any city residents,
raye@raye.com       although there have been several reports of it 
                    purring aggressively at passersby" - The Onion
--http://www.raye.com/~raye----------------------------------8/25/94------

