secure shell using other ports than 22
KevinO
plug-discuss@lists.plug.phoenix.az.us
Wed, 26 Jun 2002 22:28:18 -0700
Michael Kocher wrote:
> Howdy,
>
> I was wondering if anyone knows how to secure shell using a different
> port other than the default 22?
$ ssh -p xxx machine_name_or_ip
(where xxx is the port number to use)
> Also does the ssh server need to be
> adjusted (so it can looking for ssh at other ports)?
>
Make an entry in the configuration file for the ssh daemon
(/etc/ssh/sshd_config) that says :
Port xxx
(where xxx is the port you want sshd to listen on)
--
Kevin O'Connor
"People will be free to devote themselves to activities that are fun ...
The GNU Manifesto - Copyright (C) 1985, 1993 Free Software Foundation, Inc.