Installing SSH

On host:
  1. /usr/local/bin/ssh-keygen2 (for server)
  2. cp identity.pub authorized_keys
  3. cp identity.pub danielk.pub
  4. scp danielk.pub to /.ssh (of client)
On client:
  1. cd ~/.ssh
  2. cat danielk.pub >> authorized_keys
  3. ln -s /etc/rc2.d/S88sshd /etc/init.d/sshd
  4. vi /etc/init.d/ssh
        #!/bin/sh
        . /etc/rc.common
        Console Message "Starting sshd server"
        echo "Starting the sshd server"
        /usr/local/sbin/sshd2
        
  5. /usr/local/sbin/sshd2
  6. ssh -P server
  7. Provide password. Logout and ssh in again.
  8. You can ssh in without providing password this time.