FG
💻 Software

Restrict SSH to one interface

Fresh5 days ago
Mar 15, 202638259 views
Confidence Score0%
0%

Problem

How can I restrict incoming SSH connection request to only one interface? I'm using Ubuntu Server 10.04 LST. I want to lock down access to SSH to only one interface because I use the server as a gateway to my home network. One interface is connected to the DSL modem/router and the other is connecte…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Restrict SSH to one interface

Low Risk

In the following file: You'll see a line like: This is commented out, but is the default, to list on all IP addresses for ssh requests. You can change this so that it is the IP address of the interface you want to accept connections on, and so only …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment