One way is to run two instances of sshd. 

The second instance allows root login, bind to a different port, and
have firewall rules to restrict only allow login from a particular ip.

You may use the same sshd binary, just create another sshd_config for
the second instance. e.g.  runs it as  /usr/sbin/sshd -f sshd_config_2

Regards
 


>         
>         
>         On 18/02/2008, P.V.Anthony <[EMAIL PROTECTED]> wrote:
>         > Hi,
>         >
>         > Need to ssh into some servers. The servers are setup, that
>         it is only
>         > possible to ssh as user "xxx". Root is not allowed to ssh.
>         >
>         > Now I need to ssh as root to sync some files.
>         >
>         > Is there a way to setup ssh so that if ssh from a particular
>         ip then it
>         > is possible to ssh as root?
>         >
>         > P.V.Anthony

> 


_______________________________________________
Slugnet mailing list
[email protected]
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to