Svcadm enbale-rt SSH
By default, OpenSSH prevents the root account from being logged in via SSH to ensure security. In order to be lazy, the Server's environment is not dangerous, so you want to be able to telnet to the Solaris server on their own machines.
The method is as follows:
Modify the/etc/ssh/sshd_config file, modify the "Permitrootlogin No" to "Permitrootlogin yes", and then perform the svcadm restart SSH reboot ssh service. Last step: Allow the server to automatically enable the SSH service each time it restarts by creating a file such as "Sxxxservicename" under the/etc/rc2.d/folder-note that the first letter must be capitalized, XXX is a number, and the order of startup is and write the following command in the file: "Svcadm enable-rt ssh" Save, reboot
Login:root
Password:
Last Login:fri could 11:31:05 from 10.4.85.3
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
# SSH 127.0.0.1
Host ' 127.0.0.1 (127.0.0.1) ' authenticity could not be established.
RSA key fingerprint is 7f:69:41:2b:52:b3:58:60:6b:ff:f0:d0:b7:21:ba:ac.
Are you sure you want to continue the connection (yes/no). No
The primary secret key checksum failed.
# ps-ef|grep SSH
Root 440 1 0 May 15? 0:00/usr/lib/ssh/sshd
Root 10895 10881 0 11:32:16 pts/2 0:00 grep ssh