How To Configure SSHD To Listen On Multiple IP Addresses Only

Published Date Author: , Posted August 26th, 2010 at 5:17:50pm

Simply specify one or more ListenAddress directives…

Edit “/etc/ssh/sshd_config” and add one line per desired IP address:

[code]
ListenAddress 10.1.1.7
ListenAddress 172.16.1.82
ListenAddress 192.168.1.146
[/code]

Then run “/etc/rc.d/sshd restart”.

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.