Results 1 to 3 of 3

Thread: ksshaskpass / ssh-agent not working

  1. #1
    Join Date
    Jun 2008
    Location
    Hessia
    Posts
    303

    Question ksshaskpass / ssh-agent not working

    On 12.2 with KDE 4.9, manually starting the ssh-agent after login always pops up a non-KDE-style window requesting my ssh passphrase. Before on openSUSE 12.1, the usual KDE-Wallet password pop-up would be shown instead. How do I get this behaviour back? (My passphrase is rather complicated.)

    I did a fresh install of 12.2, but I preserved my home directory. Hence, ~/.ssh is untouched.

    As far as I could google, the program ksshaskpass should be responsible for retrieving the ssh passphrase from my KDE wallet. This program is installed, from the repository Index of /repositories/KDE:/Release:/49/openSUSE_12.2 Note that I switched all system packages to this repository.

    I am also not so sure how to start the ssh-agent, and why I have do to it manually at all. If I don't start it, then I am always asked for my passphrase for each and every ssh connection. Shouldn't the ssh-agent be started by default somehow? So since openSUSE12.1, I am starting it from a script with KDE-autostart facility - maybe this is wrong already?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,805
    Blog Entries
    3

    Default Re: ksshaskpass / ssh-agent not working

    Maybe add to your ".profile"

    Code:
    SSH_ASKPASS=/usr/lib/ksshaskpass
    export SSH_ASKPASS
    for 32 bit systems, or
    Code:
    SSH_ASKPASS=/usr/lib64/ksshaskpass
    export SSH_ASKPASS
    for 64 bit systems.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3
    Join Date
    Jun 2008
    Location
    Hessia
    Posts
    303

    Default Re: ksshaskpass / ssh-agent not working

    Thanks, that was the missing piece. Work fine now!


    PS: For completeness, in my original post I wrote ssh-agent, but it ought to be ssh-add instead (thereby also answering my own silly question). I just mixed those up.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •