Re: Running SSH on a different port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 24/10/2009, at 11:26 PM, ML wrote:

> HI All,
>
> With my new firewall in place, it has opened my eyes to how much
> traffic gets blocked in a single day and also what are the most active
> rules. I get *a lot* of requests for port 22.

Look in /etc/ssh/sshd_config

You can specify the port there, it's the first option which is  
commented out.

>
> How does one switch ssh ports? What is a good port to use? What
> ramifications does it have when I need to ssh in? Is it as simple as
> ssh user@hots:port?
>

To specify another port you need to use ssh -p X -l whateveruse IP

I don't think there are any ramifications/disadvantages of running the  
SSH daemon on a non standard port.

> Best,
> -ML
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux