I rebooted the machine. Nothing happens. I tried the same thing on Linux. It works for Linux.
What do you mean: "I've never had to do that."? Is there another way to allow root to access ssh remotely? Thanks. ----- Original Message ---- From: Ian Collins <[email protected]> To: Wei Jiang <wei_jiang at yahoo.com> Cc: opensolaris-help at opensolaris.org Sent: Tuesday, December 2, 2008 9:45:59 PM Subject: Re: [osol-help] How to allow root to access SSH remotely on opensolaris 11? 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 > > I've never had to do that. > After restart sshd on server1, I still could not ssh to the remove server as > root. > How did you restart sshd? -- Ian.
