[lug] stupid ssh config question
david
dafr at dafr.us
Thu Jun 15 10:15:26 MDT 2017
On 06/15/2017 09:02 AM, Steven A Hart wrote:
> So on the server I generated the keys resulting in id_rsa and id_rsa.pub
> being created. I moved id_rsa.pub to authorized_keys and copied that
> over to the root account on the client in /root/.ssh. Sure enough, the
> ssh works from server to client without password.
>
> The problem now is that when I ssh from anywhere to the server as either
> root or my admin account, I get:
>
> Permission denied (publickey).
>
> I know I made a stupid mistake somewhere, I just need someone to point
> and say "look there stupid!"
Have you copied id_rsa to the appropriate home account on the
originating server? Without that, I would expect the error you present
above.
dafr
More information about the LUG
mailing list