Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi folks im trying to setup ssh on a sparc solaris 8 system which ive just installed. How exactly do you go about setting the service up and do i need to install any components - ive installed off the install disk and two accompanying software setup disk. As of yet i havent added any bonus software.
cheers in advance

become root
install the binary gcc package from www.sunfreeware.com
set path for gcc compiler
(/usr/local/bin and /usr/ccs/bin)install all others from source in this order:
zlib
perl
openssl
opensshthen ...
# mkdir /var/empty
# chown root:sys /var/empty
# chmod 755 /var/empty
# groupadd sshd
# useradd -g sshd -c 'sshd privsep' -d /var/empty -s /bin/false sshd/var/empty shouldn't have any files inside
# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N ""
# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N ""in your /etc/init.d directory create a sshd file with the following script:
---------
case "$1" in
'start')
if [ -x /usr/local/sbin/sshd ]; then
echo "Starting the secure shell daemon"
/usr/local/sbin/sshd &
fi
;;'stop')
echo "Stopping the secure shell daemon "
pkill -TERM sshd
;;
*)
echo "Usage: /etc/init.d/sshd { start | stop }"
;;
esac
exit 0
------------next do the following:
# chown root /etc/init.d/sshd
# chgrp sys /etc/init.d/sshd
# chmod 555 /etc/init.d/sshdin /etc/init.d do:
./sshd startwill start the ssh server
./sshd stop will stop it
check to see if it's running:
# ps -e | grep sshd
good luck

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |