Using Sun Connection to Deploy sshd to the Solaris 8 OS
Doug Schwabauer, January 2007
Since a secure shell daemon (sshd) does not come with the Solaris 8 Operating System (Solaris OS), I created a Sun Connection profile that will automatically deploy and set up sshd for Solaris 8 OS agents.
Here's how to find the instructions in the console of Sun Connection, formerly known as Sun Connection - Enterprise:
Highlight the hosts that you want to include in the search.
Click Components -> Search, then search for ssh.
The ssh clients are highlighted in the Components list.
Click Components -> Details.
The Component Information page is displayed.
Click Incident, highlight the component, and click Open with Browser.
Configuration File, Profile, and Scripts
The sshd startup script uses a configuration file. A profile is created with the correct packages and prerequisite patches. The scripts
automate the pre- and post-setup.
Caveats:
If you don't already have patch 112438-01 or later installed,
and you don't have a /dev/random file, then the
generate-key.sh script will fail. If the script fails, install the patch,
reboot to create the /dev/random file, and then re-run the job. Note: A probe can be written included in the profile that checks for /dev/random,
and exits on failure if /dev/random is not found.
The host's package policy should be set to not check for conflicts.
Here are steps to use the console to change a host's Check Conflicts parameter in the package policy file:
Choose Preferences from the Tools menu.
Select the Hosts option.
Select the host name in the list.
Select PKGs from the menu. Scroll to the Check Conflicts parameter and select the nocheck option.
At the end of the job, you must run the /etc/init.d/sshd start command manually.
Create a Configuration File for the Startup Script