[nycbug-talk] ssh config question

Steve Rieger steve.rieger
Mon Oct 3 13:28:49 EDT 2005


On Oct 3, 2005, at 1:23 PM, Hubert Feyrer wrote:

> 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.


got it do do what i needed with /etc/hosts.allow

thanx all






More information about the talk mailing list