[CentOS] sshd: listen on ip1:port1 and ip2:port2

Peter Eckel lists at eckel-edv.de
Tue Jan 24 12:59:19 UTC 2012


Hi Fabien, 

> In order to do so, you just need to add in /etc/ssh/sshd_config:
> Port 22
> Port 443
> 
> Then reload the ssh service.

that will lead to sshd listening on both ports for both interfaces, so it's not what Alex needs. 

Best regards, 

  Peter.





More information about the CentOS mailing list