Re: Running SSH on a different port

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



ML wrote:
>>> 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?
>>>
>> In /etc/ssh/sshd_config replace "port 22" with "port <whatever high  
>> port
>> (> 1024) you like>"
>>
>> Then configure your ssh clients accordingly.
> 
> So I added Port 2977 Under Host *
> 
> So I have:
> Host *
> Port 2977
> 
> I rebooted and I get a connection refused now when I try to connect.
> 
> I am doing: ssh -p 2977 user@ip
> 
> I must have missed something.

Check your firewall rules.

	mark
_______________________________________________
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