ssh-agent not working in Kubuntu 19.04How to get OpenSSH to use ksshaskpass under KDE?Paswordless Rsync Over SSH Without Key Authentication [Un-Safe]How to avoid typing ssh-add everytimeRestore SSH Key from txtssh connection fails with and without rsa keysHadoop in Ubuntu : Unable to create Passwordless SSHGit via ssh not automatically finding key after update to 16.04SSH keeps asking for my passphrase

Why is Google's quantum supremacy experiment impressive?

What could cause the Boeing "Pickle Fork" issues?

Security risks of user generated HTML?

I have just 4 hours a month to security check a cloud based application - How to use my time?

Installing a sliding patio door...why does the entire frame have to be square, level and plumb?

Someone called someone else with my phone number

Is the MCU origin for the "Avengers” name consistent with the comics?

How to get a large amount of cash abroad if a debit card stops working?

How can infinite information be theoretically encoded or stored in a single qubit?

How to check whether the permutation is random or not

Was the Berlin Wall Breached Based upon an Erroneous Declaration

Would rocket engine exhaust create pockets of gas in space which could hinder further space exploration?

What are the curfew hours for students in Hogwarts?

Does paying a mortgage early mean you effectively paid a much higher interest rate?

How to duplicate all folders into same directory?

Cheat at Rock-Paper-Scissors-Lizard-Spock

Vintage vs modern B&W photography techniques differ in color luminance - what's going on here?

Is it possible to be admitted to CS PhD programs (in US) with scholarship at age 18?

The correct capital G and J in cursive

Why the real and imaginary parts of a complex analytic function are not independent?

What is Trump's position on the whistle blower allegations? What does he mean by "witch hunt"?

How did Beit Shammai and Beit Hillel arrive at the conclusion that it would have been preferable had man not been created?

Jamaican expired passport

Lvl20 Samurai+true strike=9 attacks all with advantage?



ssh-agent not working in Kubuntu 19.04


How to get OpenSSH to use ksshaskpass under KDE?Paswordless Rsync Over SSH Without Key Authentication [Un-Safe]How to avoid typing ssh-add everytimeRestore SSH Key from txtssh connection fails with and without rsa keysHadoop in Ubuntu : Unable to create Passwordless SSHGit via ssh not automatically finding key after update to 16.04SSH keeps asking for my passphrase






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I freshly installed Kubuntu 19.04 but I used my old home folder from Linux Mint. .bashrc and .profile are Kubuntu versions.



When using ssh, I everytime need to type my pass phrase. I can manually ssh-add my key but after a boot, I still need to enter my passphrase again. That's annoying.



ssh-agent seems to be running at the time I try to connect.



What could cause this?










share|improve this question
































    0

















    I freshly installed Kubuntu 19.04 but I used my old home folder from Linux Mint. .bashrc and .profile are Kubuntu versions.



    When using ssh, I everytime need to type my pass phrase. I can manually ssh-add my key but after a boot, I still need to enter my passphrase again. That's annoying.



    ssh-agent seems to be running at the time I try to connect.



    What could cause this?










    share|improve this question




























      0












      0








      0








      I freshly installed Kubuntu 19.04 but I used my old home folder from Linux Mint. .bashrc and .profile are Kubuntu versions.



      When using ssh, I everytime need to type my pass phrase. I can manually ssh-add my key but after a boot, I still need to enter my passphrase again. That's annoying.



      ssh-agent seems to be running at the time I try to connect.



      What could cause this?










      share|improve this question















      I freshly installed Kubuntu 19.04 but I used my old home folder from Linux Mint. .bashrc and .profile are Kubuntu versions.



      When using ssh, I everytime need to type my pass phrase. I can manually ssh-add my key but after a boot, I still need to enter my passphrase again. That's annoying.



      ssh-agent seems to be running at the time I try to connect.



      What could cause this?







      ssh kubuntu ssh-agent






      share|improve this question














      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 7 at 17:17









      CorniCorni

      1035 bronze badges




      1035 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0


















          KDE seems not to start ssh-agent automatically. Install ksshaskpass and



          nano ~/.config/autostart-scripts/ssh-add.sh



          Enter the following:



          #!/bin/sh
          export SSH_ASKPASS=/usr/bin/ksshaskpass
          /usr/bin/ssh-add $HOME/.ssh/id_rsa </dev/null


          Check if the path is correct with whereis kaskpass
          If you have multiple keys just separate them with a space.



          Make the script executable
          chmod u+x ~/.config/autostart-scripts/ssh-add.sh



          Test it
          sh ~/.config/autostart-scripts/ssh-add.sh



          After a log-off and in again you will be prompted for a passphrase and will be stored.






          share|improve this answer



























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1156571%2fssh-agent-not-working-in-kubuntu-19-04%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown


























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0


















            KDE seems not to start ssh-agent automatically. Install ksshaskpass and



            nano ~/.config/autostart-scripts/ssh-add.sh



            Enter the following:



            #!/bin/sh
            export SSH_ASKPASS=/usr/bin/ksshaskpass
            /usr/bin/ssh-add $HOME/.ssh/id_rsa </dev/null


            Check if the path is correct with whereis kaskpass
            If you have multiple keys just separate them with a space.



            Make the script executable
            chmod u+x ~/.config/autostart-scripts/ssh-add.sh



            Test it
            sh ~/.config/autostart-scripts/ssh-add.sh



            After a log-off and in again you will be prompted for a passphrase and will be stored.






            share|improve this answer






























              0


















              KDE seems not to start ssh-agent automatically. Install ksshaskpass and



              nano ~/.config/autostart-scripts/ssh-add.sh



              Enter the following:



              #!/bin/sh
              export SSH_ASKPASS=/usr/bin/ksshaskpass
              /usr/bin/ssh-add $HOME/.ssh/id_rsa </dev/null


              Check if the path is correct with whereis kaskpass
              If you have multiple keys just separate them with a space.



              Make the script executable
              chmod u+x ~/.config/autostart-scripts/ssh-add.sh



              Test it
              sh ~/.config/autostart-scripts/ssh-add.sh



              After a log-off and in again you will be prompted for a passphrase and will be stored.






              share|improve this answer




























                0














                0










                0









                KDE seems not to start ssh-agent automatically. Install ksshaskpass and



                nano ~/.config/autostart-scripts/ssh-add.sh



                Enter the following:



                #!/bin/sh
                export SSH_ASKPASS=/usr/bin/ksshaskpass
                /usr/bin/ssh-add $HOME/.ssh/id_rsa </dev/null


                Check if the path is correct with whereis kaskpass
                If you have multiple keys just separate them with a space.



                Make the script executable
                chmod u+x ~/.config/autostart-scripts/ssh-add.sh



                Test it
                sh ~/.config/autostart-scripts/ssh-add.sh



                After a log-off and in again you will be prompted for a passphrase and will be stored.






                share|improve this answer














                KDE seems not to start ssh-agent automatically. Install ksshaskpass and



                nano ~/.config/autostart-scripts/ssh-add.sh



                Enter the following:



                #!/bin/sh
                export SSH_ASKPASS=/usr/bin/ksshaskpass
                /usr/bin/ssh-add $HOME/.ssh/id_rsa </dev/null


                Check if the path is correct with whereis kaskpass
                If you have multiple keys just separate them with a space.



                Make the script executable
                chmod u+x ~/.config/autostart-scripts/ssh-add.sh



                Test it
                sh ~/.config/autostart-scripts/ssh-add.sh



                After a log-off and in again you will be prompted for a passphrase and will be stored.







                share|improve this answer













                share|improve this answer




                share|improve this answer










                answered Jul 21 at 8:34









                CorniCorni

                1035 bronze badges




                1035 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1156571%2fssh-agent-not-working-in-kubuntu-19-04%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown









                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?