secure shell using other ports than 22

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: KevinO
Date:  
Subject: secure shell using other ports than 22
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.