Citiverse
  • Has anyone heard of SSH public key authentication failing despite using the correct keys & public key authentication being fully set up on the server?

    Senza categoria
    3 3 0

    jackemled@furry.engineerJ
    1
    0

    Has anyone heard of SSH public key authentication failing despite using the correct keys & public key authentication being fully set up on the server? I'm having this issue with remotely logging in on my computer that has KDE Neon installed. I have the exact same SSH setup as on my server & my laptop that have Fedora installed, but it does not work & the only thing it tells me is "permission denied (publickey)". ssh -vvv doesn't give much more information besides confirming that the correct keys are being loaded & the remote host is properly recognized & its host keys verified. Everything that is happening points to the setup being correct, except for the key failing to authenticate me for some reason. I have even tried generating a new key pair & registering that one & removing the old one, which confirmed that it's not the key itself that could be the issue, but I still can't log in.

    Password verification works fine when I turn that on & disable public key authentication.

  • hazelnoot@enby.lifeH
    1
    0

    @jackemled@furry.engineer this can happen if any SSH config/keys file (including the directories containing that file!) has the permission bits set wrong. The private key will be correct, but SSH server won't accept it because it doesn't trust the public key on its own end.

  • julian@activitypub.spaceJ
    80
    0

    jackemled@furry.engineer did you have UsePAM enabled and or uncommented? That caught me recently too.


Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy

Il server utilizzato è quello di Webdock, in Danimarca. Se volete provarlo potete ottenere il 20% di sconto con questo link e noi riceveremo un aiuto sotto forma di credito da usare proprio per mantenere Citiverse.