Re: restrict root access for one perticular ip in SSH
Hello
On 2005-11-08 Radhika wrote:
> In ssh i want to restrict root access for one perticular ip.The main
> point is whoever logged in through one ipaddress only should have root
> access.
One possible way:
- allow everybody to login as normal user,
- use "PermitRootLogin without-password" in /etc/ssh/sshd_config and
- install the public key from the privileged user in
/root/.ssh/authorized_keys with the from="..." option (man sshd)
bye,
-christian-
Reply to: