Re: from= option of authorized keys



On 2008-05-19, Ignoramus31588 <ignoramus31588@xxxxxxxxxxxxxxxxxxxx> wrote:
What is the syntax, can I use hostnames or more than one IP?

Yes, you can use multiple ip-addresses, I use this in my authorized_keys file
to limit logins from these two hosts:

from="172.20.4.3,172.20.4.2" ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAs98tZJEXd1Njhp4xhcw+IVQ4kLUlYmnRb5Nvms590GZiEwnC6NOdQ6ib7ukfgujNP4uSZo8LGeYmmMkwhocYABCsRufRlHirdTJfs+7997yF85yRJ2c9pRQwq5OnxEqDneKk64bv2xt8w8C8ENAylpjln9HO8TFE1I1dkR1aROM= janfrode@xxxxxxxxx



-jf
.