root login with SSH

From: Vito Flavio Licciulli <flavio.licciulli_at_ba.itb.cnr.it>
Date: Wed, 28 Apr 2004 13:39:49 +0200

On TRU64 5.1A I want to login with root user through SSH (SSH 3.2.0), and i
want to leave disabled for telnet login.
So there is no "ptys" line in /etc/securettys and there is
"PermitRootLogin yes" in /etc/ssh2/sshd2_config as
suggested in this list.

But I can't connect with ssh (root user) with the error:
"Not authorized for terminal access -- see System Administrator."
the same error for telnet login.

When I put "ptys" line in /etc/securettys it works, but telnet login works
too.....and I don't want this.

Any suggestion for ssh root login and no root telnet login.


-------------------------------------------------------------------------------------
Vito Flavio Licciulli e-mail:
flavio.licciulli_at_ba.itb.cnr.it
System & Database Administrator
Italian EMBnet Node
C.N.R. - ITB Sez.di BARI Phone (39) 080-5482100/30
Via Amendola 168/5 BARI ITALY Fax (39) 080-5482607
-------------------------------------------------------------------------------------
Received on Wed Apr 28 2004 - 11:42:24 NZST

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