ssh pre-shared key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux