ssh host key authorization help
Hi folks,I'm trying to set-up and "trust" relationship between several machines, and I'm missing something. Here is what I've tried.
Host Machine:
ssh-keygen -b 1024 -t dsa -N ""
This creates: id_dsa and id_dsa.pub
Client Machine:
copy host:/id_dsa.pub authorized_keys
Test from client machine:
ssh host
It always prompts me for a password.
The problem may lie in my /usr/local/etc/ssh_config file: Here are the contents:
# Site-wide defaults for various options
# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
I've googled and found several examples, all variations of what I've tried and I still can't get it to work.
If someone can point me to a simple tutorial, or get me pointed in the right direction I would really appreciate it.
Bob