Date: Tue, 11 Nov 2008 20:07:25 -0800 (PST)
From: Dan Kriwitsky <webhosting (at mark) yahoo.com>
Subject: [coba-e:14297] Re: SSH file to change port
To: coba-e (at mark) bluequartz.org
Message-Id: <310679.22840.qm (at mark) web65606.mail.ac4.yahoo.com>
In-Reply-To: <491A536E.4020100 (at mark) probass.com>
X-Mail-Count: 14297
> What file do you edit to change port 22 for ssh to use a
> different port
From Gerald at FrontStreetNetworks:
Edit /etc/ssh/sshd_config
#Port 22
Port [some high port number]
#Protocol 2,1
Protocol 2
Keep the current session open, in case something goes wrong.
restart sshd "/etc/init.d/sshd restart
Then attempt to login to a new shell session using [some high port number]
--
Dan Kriwitsky