Hi,
I'm simply trying to set sshd to listen to a specific IP address on the box, but this is what I get.
no issue with this line in /etc/rc.conf. The system boots and sshd starts.
If I add to /etc/ssh/sshd_config this:
Then sshd fails at boot time because
But if at that stage, after login, I just:
[CMD=""]/etc/rc.d/sshd start[/CMD]
then sshd starts, without changing anything.
How can I fix that so sshd will accept to start with a specific IP address to listen to?
Thank you
I'm simply trying to set sshd to listen to a specific IP address on the box, but this is what I get.
Code:
sshd_enable="YES"
no issue with this line in /etc/rc.conf. The system boots and sshd starts.
If I add to /etc/ssh/sshd_config this:
Code:
ListenAddress 192.168.0.197
Code:
error: Bind to port 22 on 192.168.0.197 failed: Can't assign requested address.
fatal: Cannot bind any address.
But if at that stage, after login, I just:
[CMD=""]/etc/rc.d/sshd start[/CMD]
then sshd starts, without changing anything.
How can I fix that so sshd will accept to start with a specific IP address to listen to?
Thank you