FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-07-2011, 05:49 AM
Ned Slider
 
Default SSH AllowUser WildCard

On 07/02/11 06:08, Stephen Cox wrote:
> Is it possible to allow a user to login from an changing hostname like:
>
> username@*hoststringfixed.com
>

man sshd_config

AllowUsers
This keyword can be followed by a list of user name patterns, separated
by spaces. If specified, login is allowed only for user names that match
one of the patterns. `*' and `?' can be used as wildcards in the
patterns. Only user names are valid; a numerical user ID is not
recognized. By default, login is allowed for all users. If the pattern
takes the form USER@HOST then USER and HOST are separately checked,
restricting logins to particular users from particular hosts.


So wild cards can be used although it doesn't specifically state they
can be used with the HOST part. Try it and see, my guess is it will work.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 11:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org