This guide will show you how to install SSH on Solaris 10 x86 from the Solaris installation DVD.
If you havent enabled the feature that will automatically mount your CDROM drive you will need to mount it using the following commands :
Find the name of your cdrom
-bash-3.00# iostat -En c0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Model: VMware Virtual Revision: Serial No: 000000000000000 Size: 16.11GB <16106065920 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 c1t0d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0 Vendor: NECVMWar Product: VMware IDE CDR10 Revision: 1.00 Serial No: Size: 2.56GB <2563440640 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 3 Predictive Failure Analysis: 0
-bash-3.00# mount -F hsfs -o ro /dev/dsk/c1t0d0s0 /cdrom
Install the packages
-bash-3.00# cd / -bash-3.00# pkgadd -d /cdrom/Solaris_10/Product/ SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu
-bash-3.00#svcadm enable ssh -bash-3.00# svcadm restart ssh
You will not be able to log in via SSH using root unless you amend the sshd_config file and set “allow root login” to yes.
Latest posts by Rick Donato (see all)
- How to Configure a BIND Server on Ubuntu - March 15, 2018
- What is a BGP Confederation? - March 6, 2018
- Cisco – What is BGP ORF (Outbound Route Filtering)? - March 5, 2018
Want to become a UNIX expert?
Here is our hand-picked selection of the best courses you can find online:
UNIX Administration Fundamentals
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial