[CentOS] ssh pre-shared key

Craig White craigwhite at azapple.com
Thu Aug 18 23:04:06 UTC 2005


On Thu, 2005-08-18 at 15:58 -0700, Craig White wrote:
> 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?
----
correction...

keys were added to authorized_keys2

Craig




More information about the CentOS mailing list