UsersDeny except root@myserver

From: Miller Alan (Alan.Miller_at_is-energy.de)
Date: 02/13/04

  • Next message: fastrin_at_tin.it: "RE: windows to linux via the internet"
    To: "'secureshell@securityfocus.com'" <secureshell@securityfocus.com>
    Date: Fri, 13 Feb 2004 12:28:36 +0100
    
    

    Hallo,

    Have I missed something in the config options to sshd?
    It appears to me that the following can't be done using
    the existing configuration options.

    I want to Allow all users from all hosts, but at the same time
    deny all root users except root from 2 specific machines.

    AllowUsers * root@server1 root@server2
    DenyUsers root@*

    The ssh connection from root@server1 doesn't work, because the
    matching Deny Rule overrides the Allow Rule.

    Is there a way to do this?

    --
    Alan Miller	
    is:energy  GmbH	
    Unit Operations, Operating Systems - OPOO 	
    Tresckowstrasse 3		
    30457 Hannover		
    Telefon: (0511) 439-4292		Telefax: (0511) 439-4226	
    Email: alan.miller@is-energy.de	I-Net: <www.is-energy.de>
    

  • Next message: fastrin_at_tin.it: "RE: windows to linux via the internet"

    Relevant Pages