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;
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
add a comment
|
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
add a comment
|
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
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
ssh kubuntu ssh-agent
asked Jul 7 at 17:17
CorniCorni
1035 bronze badges
1035 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
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.
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment
|
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.
add a comment
|
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.
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.
answered Jul 21 at 8:34
CorniCorni
1035 bronze badges
1035 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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