You shouldn't be able to ssh in as root either (by the default setup). Can
you ssh/telnet locally? IE (ssh 127.0.0.1) to the redhat box?
Do you think your hosts.deny saying all except telnet may be interfering
with ssh?
What if you temporarily try another login service like an ftp server. And
try temporarily disabling your hosts.deny.
The default install of 6.2 alllows telnet connections (unless there is some
security level like on mandrake. I don't remember if there is). So
something has been changed to disable telnet. Root shouldn't be allowed to
log in remotely through telnet by the /etc/securetty file.
Cory
-----Original Message-----
From: Staley Mims [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 28, 2000 12:31 PM
To: '[EMAIL PROTECTED]'
Subject: [EUG-LUG:164] RE: Can't SSH or telnet
Thanks for the quick reply Cory.
Am unable to ssh or telnet in as root (expected in telnet) or as
a valid user. It's frustrating!
Woody
On Thu, 28 Dec 2000, Cory Petkovsek wrote:
> Are you trying to log in as root, remotely? How about a regular user,
then
> su to root?
>
> -----Original Message-----
> From: Staley Mims [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 28, 2000 12:25 PM
> To: [EMAIL PROTECTED]
> Subject: [EUG-LUG:162] Can't SSH or telnet
>
>
> Hi all--
>
> Experiencing a problem with a RedHat - 6.2 machine
>
> I cannot SSH into the machine from outside using OpenSSH-2.3.0p1
> When I try, it asks for user password, yet won't accept the pw. I
> have even reset the password, still no success.
>
> As remote access is critical on this machine, I have also attempted
> to telnet to this machine. I get "connection closed by foreign host"
>
> I have checked /etc/services and /etc/inetd.conf. Both are configured
> properly. I double checked this against a machine that is working
> properly. My hosts.deny contains "ALL EXCEPTin.telnetd:ALL"
>
> Any ideas out there?
>
> Woody
>