Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SSH] Restreindre a une IP ? (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
pixnet
n00b
n00b


Joined: 06 Nov 2004
Posts: 57

PostPosted: Tue Nov 30, 2004 6:33 pm    Post subject: [SSH] Restreindre a une IP ? (resolu) Reply with quote

Bonjour,

J'aurai aimer savoir si cela est possible et si oui comment de restreindre un utilisateur : "toto" a se connecter en SSH mais seulement depuis une unique adresse IP ?

Merci !


Last edited by pixnet on Tue Nov 30, 2004 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Tue Nov 30, 2004 6:48 pm    Post subject: Reply with quote

dans mon /etc/ssh/sshd_config j'ai mis ca :

Code:
AllowUsers *@192.168.* boris@*



je pense que c'est comprehensible ! :D

user@host avec les * qui sont acceptees !
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Tue Nov 30, 2004 7:13 pm    Post subject: Reply with quote

kernel_sensei wrote:
dans mon /etc/ssh/sshd_config j'ai mis ca :

Code:
AllowUsers *@192.168.* boris@*



je pense que c'est comprehensible ! :D

user@host avec les * qui sont acceptees !

il me semble que j'avais écrit un howto pour ça je vais le retrouver
voilà:
https://forums.gentoo.org/viewtopic.php?t=228464
PS, yuk si tu veux bien le mettre dans la liste ça sera plus simple pour la suite :wink:
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
pixnet
n00b
n00b


Joined: 06 Nov 2004
Posts: 57

PostPosted: Tue Nov 30, 2004 7:23 pm    Post subject: Reply with quote

Ok ca marche merci ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum