Are there any reasons to get a pubkey denied after you run ssh-copy-id onto your server? I’ve already restarted the sshd service but I still get pubkey denied after I copied my ssh I.D. to my server. I am thinking about just removing all the keys I have on the server and re-adding them but I was hoping someone else may have an idea before I do that. Thanks!

  • uin@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Also: Make sure that the user you ran “ssh-copy-id” against on the remote machine is also the user you’re trying to log in with.