2 replies
by jmgarvin
Don't go and use google, that might help:
http://www.sun.com/blueprints/0102/configssh.pdf
by sarahmeggs
pkginfo |grep -i ssh
There is a great site for lots of solaris freeware from which you will be able to download the package if you need to.
If not found in pkginfo, simply locate ssh on sunfreeware site, download and install it (ssl will have to be installed also), then for each user do this:
su -
cd ~ (if not already there)
mkdir .ssh
chmod 700 .ssh
ssh-keygen -tdsa
(follow prompts to set/not set passphrase, etc)
You should have files id_dsa and id_dsa.pub (or something similar) in ~/.ssh now.
for each host you want to ssh to without password,do this:
Ensure user is setup on each remote host with same details
scp ~/.ssh/id_dsa.pub remotehost:/home//.ssh/
Then go to remote host as that user:
ssh
cat ~/.ssh/ >> ~/.ssh/authorized_keys
chmod 700 ~/.ssh/authorized_keys
Then test your ssh access
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending