From owner-freebsd-questions Wed May 31 10:43: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from psasolar.colltech.com (psasolar.colltech.com [208.229.236.14]) by hub.freebsd.org (Postfix) with ESMTP id EFFD137BEA1 for ; Wed, 31 May 2000 10:42:54 -0700 (PDT) (envelope-from jmutter@colltech.com) Received: from localhost by psasolar.colltech.com (8.9.3/8.9.3/not) with ESMTP id MAA27683; Wed, 31 May 2000 12:39:27 -0500 (CDT) Date: Wed, 31 May 2000 12:39:27 -0500 (CDT) From: "James A. Mutter" X-Sender: jmutter@psasolar.private.psa.pencom.com To: "J. Goodleaf" Cc: questions@FreeBSD.ORG Subject: Re: Newbie-ish question: changing SSH listening port In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wouldn't change the entries in /etc/services if I were you. Changing things in sshd_config will be enough. (The /etc/services change will break outgoing telnet and ssh) On Wed, 31 May 2000, J. Goodleaf wrote: > > What's the most efficient, most correct way to make sshd listen on port > 23? > My guess is that I need to disable telnet (in inetd.conf?) > -change sshd_config from port 22 to port 23 > -change entries in /etc/services to reflect the 22->23 change > > Am I missing anything else? > oh, I'm on 4.0-Stable > > (Reason: cannot use ssh to contact my home computer when I'm at > work. Since ssh works from other locales, I assume a) it is set up > correctly and b) my company's firewall is blocking the port. Telnet works > so that port must be open... ) > > Thanks, > John > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message