[nycbug-talk] ssh config question

Hubert Feyrer hubert
Mon Oct 3 13:23:25 EDT 2005


On Mon, 3 Oct 2005, 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.

I guess that hosts.allow is your best bet here.

A weaker alternative is to turn off password-based authentication 
("PasswordAuthentication no"), and the use "from=" in the authorized_keys 
file, ssee the "AUTHORIZED_KEYS FILE FORMAT" section in sshd(8) manpage.


  - Hubert




More information about the talk mailing list