Solaris 10 Minimal, getting started with SSH server

| | TrackBacks (0)
solteaser.jpgJust because it happens again today:

After doing a very minimal Solaris 10 installation without remote services enabled, it is always the same thing to get the SSH server running (Solaris 10 DVD in drive):

# mount -F hsfs /dev/dsk/c2t0d0s0 /mnt
# cd /mnt/Solaris_10/Product
# pkgadd -d . SUNWsshdr SUNWgssc SUNWgss SUNWsshcu SUNWuiu8 SUNWsshdu SUNWsshr SUNWsshu
# cd /etc/ssh
# ssh-keygen -t rsa -b 2048 -f ssh_host_rsa_key
# ssh-keygen -t dsa -b 2048 -f ssh_host_dsa_key
# svcadm enable ssh

Replace device of the DVD drive with your actual configuration.



To have slightly more comfort and an accurate clock:

# cd /mnt/Solaris_10/Product
# pkgadd -d . SUNWntpr SUNWntpu SUNWbash
# vi /etc/inet/ntp.conf
# ntpdate ntp1.ptb.de (replace with your time server)
# svcadm enable ntp

To get the Patch Utility "pca" running:

# pkgadd -d . SUNWgcmn SUNWwgetr SUNWwgetu
# mkdir -p /usr/local/bin
# cd /usr/local/bin
# wget http://www.par.univie.ac.at/solaris/pca/stable/pca

PCA:
http://www.par.univie.ac.at/solaris/pca/installation.html

Mount local patch repository on this machine, configure pca, cd to the repository and run "pca -i". Reboot. Ready.

0 TrackBacks

Listed below are links to blogs that reference this entry: Solaris 10 Minimal, getting started with SSH server.

TrackBack URL for this entry: http://southbrain.com/mt/mt-tb.cgi/202

December 2015

Sun Mon Tue Wed Thu Fri Sat
    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 31    

About

This blog is owned by:

Pascal Gienger
Jägerstrasse 77
8406 Winterthur
Switzerland


Google+: Profile
YouTube Channel: pascalgienger