Re: /root/.ssh/authorized_keys and command= entries

2005-10-22 Thread Andrew M.A. Cater
On Fri, Oct 21, 2005 at 09:48:06PM -0700, David Christensen wrote: > Debian user: > > I am trying to figure out how to execute a shutdown on a Debian 3.0 machine > using "ssh root@ " syntax, but don't want to allow root logins. > > > RTFM "man sshd_config" indicates that I need the following lin

/root/.ssh/authorized_keys and command= entries

2005-10-21 Thread David Christensen
Debian user: I am trying to figure out how to execute a shutdown on a Debian 3.0 machine using "ssh root@ " syntax, but don't want to allow root logins. RTFM "man sshd_config" indicates that I need the following line in /etc/ssh/sshd_config: PermitRootLogin forced-commands-only Restarting