[nycbug-talk] ssh config question

Isaac Levy ike
Mon Oct 3 13:19:13 EDT 2005

Hi Steve,

On Oct 3, 2005, at 11:01 AM, Steve Rieger wrote:

> amoung the many options is there a way i can tell sshd_config to  
> only allow connections from a certain ip address.

No, by design, that should happen at the link-layer (IP), not the  
Applicaton layer.

Weather or not this would be handy, is another discussion  
alltogher... but I'd think this feature would tend to be sorely abused.

You should check /etc/hosts.allow for certain, man pages on the  
syntax are hosts_options on FreeBSD- as you may get what you need out  
of that.

Sidenote regarding HostbasedAuthentication and HostKey, these are SSH  
configurtion directives for using ssh keys, which is a whole other  
bag... (I Love ssh keys!)

Some Googles:


More information about the talk mailing list