Did you restart the ssh service after making the changes to  
sshd_config ?

svcadm restart ssh

/dale

On Dec 2, 2008, at 9:26 PM, Wei Jiang wrote:

> I have a new opensolaris11 (2008.05) installed on a laptop. I can  
> ssh as a normal user to a remote server, but I could not ssh as root  
> to the remote server.
>
> I changed the following on the remove server.
> 1. modified "PermitRootLogin" from no to yes on the file /etc/ssh/ 
> sshd_config
>   PermitRootLogin yes
>
> 2. commonted out CONSOLE=/dev/console  on the file /etc/default/login
>  #CONSOLE=/dev/console
>
> After restart sshd on server1, I still could not ssh to the remove  
> server as root.
> Client$ ssh [EMAIL PROTECTED]
> password:
> password:
>
> After enter the root password, It still keeps asking password.
>
> Root access to SSH is denied. Could you please let me know what  
> should I do?
>
> Any information would be appreciated. Thanks in advance.
> -- 
> This message posted from opensolaris.org
> _______________________________________________
> sysadmin-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to