Using SSH as root

From: Larry Griffith <larry_at_cs.wsc.ma.edu>
Date: Wed, 05 Jan 2000 09:43:08 -0500

Dear Managers,

     I am experiencing a problem with SSH (v2.0.13) distinct from the
one I just posted. This problem seems to apply to all machines in our
LAN.

     If I type a command like this in my ordinary user account
(C2/NIS):

     ssh <other machine on our LAN> hostname

ssh uses public key authentication and doesn't require me to type my
password (I have the .ssh2/identification and .ssh2/authorization
files in place) to see the output of the "hostname" command. However,
if I try this as root, I must type root's password even though the
identification and authorization files are present for root. root is
a local account on each machine, not NIS. I'm not sure if this is an
SSH or T64U problem; please pardon me if it is entirely the former.

     I have checked the following:

i) sshd2 is running on the target machine.

ii) The /etc/ssh2/ssh2d_config file on the remote machine has the
PermitRootLogin option set to "yes".

iii) I have checked that the public key on my machine's root account
is identical to the public key for the remote machine's root account.

   Any suggestions?

                                                Larry

============================================================================
Larry Griffith Dept. of Computer & Info Science
larry_at_cs.wsc.ma.edu Westfield State College
(413) 572-5294 Westfield, MA 01086 USA
PGP public key available at: http://cs.wsc.ma.edu/dcis/griffith.html
============================================================================
Received on Wed Jan 05 2000 - 14:44:44 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT