Enable ssh root login in Solaris 10

1. Change the file /etc/ssh/sshd_config with PermitRootLogin yes to replace PermitRootLogin no

2. restart the services

#svcadm restart svc:/network/ssh:default

Comments:

Thanks... It helped

Posted by ubuntan on May 11, 2009 at 07:59 AM CST #

it failed on me. I got a "readonly" option is set(add ! to override) message

Posted by rolly on May 13, 2009 at 11:26 AM CST #

rolly assuming that you are root user, you have two options:

1. While exiting from vi after making changes, use following key combo:
:wq!

2. Or grant following permissions to the file:
chmod 700 /etc/ssh/sshd_config
And then try making changes to it.

Hope this helps.

Posted by Aditya on May 23, 2009 at 04:32 PM CST #

For OpenSolaris:

### enable root ssh login ###
rolemod -K type=normal root

Posted by De-Yu Simon Sun on August 18, 2009 at 08:39 AM CST #

Hey,Thank you very much..
Its working....

Posted by Baskar K on October 21, 2009 at 09:03 AM CST #

HI,

I am still not able to login into SSH with solaris 10.

I have followed given below.
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
. Change the file /etc/ssh/sshd_config with PermitRootLogin yes to replace PermitRootLogin no

2. restart the services

#svcadm restart svc:/network/ssh:default
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

Posted by Alpesh Bhavsar on November 27, 2009 at 12:38 PM CST #

Sorry, it worked now. :)

by mistake I changed /etc/ssh/ssh_config instead of /etc/ssh/sshd_config.

Thank you De-Yu Simon Sun.

Posted by Alpesh Bhavsar on November 27, 2009 at 12:44 PM CST #

Hi,

Thank you very much !
So helpful

Cheers
Madjid

Posted by Madjid on December 04, 2009 at 02:25 PM CST #

Hi,
I made a fresh solaris 10 installation. I made just changes to two files /etc/ssh/sshd_config and /etc/default/login

for allowing root access and remote access respectively. But I am unable to take ssh access through putty from remotely. Can anybody please help? It is really tiresome.

Posted by Deepak on January 10, 2010 at 06:43 AM CST #

What kind of error message do you get? Reboot the system, try to ssh itself first to see if the service is OK. If it still does not work, send out the configure files you modified to me and the file /etc/release.

Posted by guest on January 15, 2010 at 07:33 AM CST #

go to etc/default
go to vi login
put # in front of CONSOLE

Posted by guest on April 07, 2010 at 04:58 AM CST #

thanks alot it works

Posted by Samer Saleh on April 25, 2010 at 04:37 PM CST #

Also check that user is included in AllowUsers directive in /etc/ssh/sshd_config.

Posted by scott kristiansen on June 04, 2010 at 03:03 AM CST #

Thans buddy

Posted by Rajkumar RSV on June 29, 2010 at 02:50 PM CST #

Thanks. It works!

Posted by tto on July 08, 2010 at 07:10 PM CST #

Thanks a lot, really helpful. cheers.

Posted by bob on July 22, 2010 at 04:23 AM CST #

Thanks Much. You made my day!

Posted by Muthu on September 21, 2010 at 03:21 PM CST #

i have installed Solaris 11, and performed the same steps as mentioned above.
Still i m not able to log in as root user plsssss help me.

Posted by rachana on December 01, 2010 at 10:49 AM CST #

uff... done finally... additional setting has to be done in
/etc/default/login
and comment
CONSOLE-/dev/console.

Posted by rachana on December 01, 2010 at 11:05 AM CST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Simon Sun

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today