Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

My /etc/ssh/sshd_config file has a line like:

AllowUsers jim@

If I want to allow jim to use another IP addresses, how do I specify it? Does it take the form of a comma separated list? Or, do add a similar line like AllowUsers jim@new-ip-address?

share|improve this question
The manapage is pretty clear on this: "This keyword can be followed by a list of user name patterns, separated by spaces." – Celada Mar 2 '13 at 1:22

1 Answer 1

up vote 5 down vote accepted

I would do

AllowUsers jim@ jim@


AllowUsers jim@11.22.33.*

should work...that is you are internal and he has a dynamic ip.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.