setting up ssh trusted machine

Hi,

I'm try to setup ssh so i dont have to repeatly enter my password. I've type:

ssh-keygen -t dsa

have tried it with and without a passphrase.

I've then copied the id_dsa.pub to $home/.ssh/
and renamed it to authorized_keys2. I've double check the permissions - its 600 - which i think is correct.


here is an excert of the output from ssh -v ip_address

debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'x.x.x.x' is known and matches the RSA host key.
debug1: Found key in /home/daniel/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/daniel/.ssh/identity
debug1: Trying private key: /home/daniel/.ssh/id_rsa
debug1: Offering public key: /home/daniel/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password


My distributation is fedora core 2 on the server and the "client" machine is via the cygwin in win2000.


any thoughts on whats going wrong?
Once this is setup I presume I'll be able to use scp without having to enter my password as well?
pixitronAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grbladesCommented:
Hi pixitron,
On newer versions of SSH the authorized_keys file holds the SSH1 and SSH2 entries. Try renameing your file and see if it works.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
grbladesCommented:
Also make sure the permissions on the .ssh directory are 700
0
pixitronAuthor Commented:
sweet that worked!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.