Allow remote root logins using SSH
Hi, I'm trying to enable remote root access to my server (I know you don't want to do it but i'll only have it open for a few hours). I can ssh as a user and then sudo to root and this works ok.
What i'm trying to do is login directly as root remotely. I've nulled the /etc/securetty file and changed "PermitRootLogin yes" in the /etc/ssh/ssh_config and sshd_config files.
When i login from my remote box, I see the following:
f004603:/ >ssh root@sydmon14
Read from remote host sydmon14: Connection reset by peer
Connection to sydmon14 closed.
When I check my loginlog, this is what I see.
Mar 2 15:54:29 localhost sshd[9308]: ROOT LOGIN REFUSED FROM 10.12.80.44
Mar 2 15:54:29 localhost sshd[9308]: fatal: monitor_read: unsupported request: 24
Is there anything else I should be doing or somewhere else I can check ???
Thanks
|