Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Configure sshd to listen on specific interfaces?
Date: Thu, 27 Aug 2020 13:40:15
Message-Id: ri8d3j$chp$1@ciao.gmane.io
1 I'm trying to figure out how to conifgure openssh sshd to listen on
2 specific interface(s). I know how to configure it to listen on a
3 specific IP address, but what do you do when using DHCP and don't know
4 what IP address is going to be assigned.
5
6 I do _not_ want it to listen on 0.0.0.0.
7
8 I want it to listen on 127.0.0.1 and on whatever IP addresses are
9 assigned to two specified interfaces.
10
11 --
12 Grant

Replies

Subject Author
Re: [gentoo-user] Configure sshd to listen on specific interfaces? Victor Ivanov <vic.m.ivanov@×××××.com>
Re: [gentoo-user] Configure sshd to listen on specific interfaces? Michael Orlitzky <mjo@g.o>