Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

AllowUsers [email protected]

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
1  
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 3 down vote accepted

I would do

AllowUsers [email protected] [email protected]

OR

AllowUsers [email protected]*

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

share|improve this answer

Your Answer

 
discard

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.