How to install SSH on Solaris 10 x86
UNIX / Linux - Solaris
This guide will show you how to install SSH on Solaris 10 x86 from the Solaris installation DVD.
Mount CD
If you havent enabled the feature that will automatically mount your CDROM drive you will need to mount it using the following commands :
1.mkdir /cdrom
Find the name of your cdrom
01.-bash-3.00# iostat -En
02.c0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
03.Model: VMware Virtual Revision: Serial No: 000000000000000 Size: 16.11GB <16106065920 bytes>
04.Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
05.Illegal Request: 0
06.c1t0d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
07.Vendor: NECVMWar Product: VMware IDE CDR10 Revision: 1.00 Serial No:
08.Size: 2.56GB <2563440640 bytes>
09.Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
10.Illegal Request: 3 Predictive Failure Analysis: 0
1.-bash-3.00# mount -F hsfs -o ro /dev/dsk/c1t0d0s0 /cdrom
Install the packages
1.-bash-3.00# cd /
2.-bash-3.00# pkgadd -d /cdrom/Solaris_10/Product/ SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu
Enable SSH
1.-bash-3.00# svcadm enable ssh
2.-bash-3.00# svcadm restart ssh
Additonal Notes
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.
留言列表