[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nx and ssh restrictions?



Trond Mæhlum skrev:
> Finn-Arne Johansen skrev:
> 
>> use AllowUser(s) in /etc/ssh/sshd_config
>>
>> something like
>> AllowUsers root@10.0.*.* nx *@localhost
> 
> Thank you Finn Arne, this seems to be what I am looking for.
> 
> However, I now have this:
> 
> AllowUsers root@172.16.*.* root@172.21.*.* nx *@localhost
> 
> It doesn't seem to work. I log in as root via ssh, and try to do ssh
> myuser@localhost. I can not login. When I comment out the line above, it
> works again. So it would seem that *@localhost is not recognized. Is
> there more to add in sshd_config.

broken dns ?

Take a look in /var/log/auth.log, or seek some professional help.

>> When a user logs in, it logs in as user nx, then the nxuser logs in as
>> the real user using ssh <user@localhost>
> 
> Which will fit our wishes perfectly if the ssh-rule above kicked in...
> 


-- 
Finn-Arne Johansen
faj@bzz.no http://bzz.no/
EE2A71C6403A3D191FCDC043006F1215062E6642 062E6642



Reply to: