On 17/01/2019 16.38, Bob Williams wrote:
On Thu, 17 Jan 2019 08:15:43 -0500 Patrick Shanahan <paka@opensuse.org> wrote:
* Peter Suetterlin <pit@astro.su.se> [01-17-19 06:15]:
Patrick Shanahan wrote:
if you are not running a server, don't install fail2ban.
Any reasoning for this? I definitely disagree. Anything that has an open ssh port should run it IMHO. And that's more than just servers....
but ssh is a server service, and would definitely be a candidate for employing fail2ban. providing a web service or mail is not the only reason(s) for running a server.
Could you clarify please? If I don't have sshd enabled and active, and only use ssh to connect to other machines, am I running an ssh server? I had always thought not, but this thread is confusing me.
The same applies to rsync and rsyncd.
In Linux, many things provide "server" facilities. It does not mean that the machine is a public or internal server. In Windows world, they have a different product that is called Windows Server, and charge for it differently. In Linux any machine can act as server easily. If you use ssh on your laptop to connect to your desktop, then you desktop is asking as server and the laptop as client. And the role can be reversed instantly, even simultaneously. If you share a directory on your desktop to access it from your laptop, then the desktop is acting as file server. Regarding ssh, then you need to have the sshd service running to be a "ssh server". And the port opened in the firewalld. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)