#Install SSH
mount -V cdrfs -o ro /dev/cd0 /mnt
df -g /mnt
cd /mnt/usr/sys/inst.images/installp -ac -Y -d . openssh.base openssl.base openssl.man.en_US openssh.man.en_US openssl.license
lssrc -s sshd
ssh localhost
#Enable ssh without asking password prompt.
#su - user
$ ssh-keygen -t rsa
$ scp /home/user/.ssh/id_rsa.pub Server2:/home/user/.ssh/authorized_keys2
EOF
No comments:
Post a Comment