Announcement

Collapse
No announcement yet.

ssh-agent in wayland

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ssh-agent in wayland

    Hello all. I am a long-time Kubuntu user currently running 24.04. I had to switch to Wayland because I need to scale individual monitors. Now I have no way to authenticate ssh requests with my RSA key.

    I have tried disabling gpg agent from taking over my ssh auth socket by configuring
    Code:
    disable-ssh-support
    in
    Code:
    ~/.gnupg/gpg-agent.conf
    That didn’t help and broke opening my kde wallet.

    I reverted and tried debugging the gpg agent to handle my ssh key properly, I have set
    Code:
    SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
    .
    But whenever I run
    Code:
    ssh-add ~/.ssh/id_rsa
    ,
    I enter my passphrase, get the message that the key was added but
    Code:
    ssh-add -l
    says
    Code:
    error fetching identities: Invalid key length.
    I have also tried generating a new key, which changed nothing. They key is RSA, should be supported.

    How do I get ssh authentication to work in Wayland please?
Working...
X