[CentOS] ssh pre-shared key

Thu Aug 18 22:58:30 UTC 2005
Craig White <craigwhite at azapple.com>

I might be going crazy...

perhaps my notes and memory has failed me but it ain't working...

on host machine...

ssh-keygen -t rsa
ssh-keygen -t dsa

scp *pub root at remote:/root

on remote machine...

cat /root/id_{r,d}sa.pub >> /root/.ssh/authorizedkeys_2

but it still asks for password when I try to connect as root from remote
host

logsAug 18 15:51:13 srv1 sshd[1630]: Accepted password for root
from ::ffff:192.168.2.2 port 51728 ssh2 on /var/log/secure on host
machine show connection but as an ipv6 address...is this the problem?

Aug 18 15:51:13 srv1 sshd[1630]: Accepted password for root
from ::ffff:192.168.2.2 port 51728 ssh2

Where am I going wrong?

Craig