Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]id_rsa passhphrase ksshaskpass doesnt work
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
picarica
Apprentice
Apprentice


Joined: 11 Aug 2018
Posts: 285

PostPosted: Sat Mar 23, 2024 9:48 pm    Post subject: [SOLVED]id_rsa passhphrase ksshaskpass doesnt work Reply with quote

so i had passhprahse on my ssh key, and i managed to get it added to kwallet and now its in htere i can see the contents and password is correct but when using ssh it still asks for passowrd, how does this work exacly ? first time using kwallet and not gnome keyring so i am confused
i also got this screnshot of proof, not sure what can i do more


Last edited by picarica on Wed Mar 27, 2024 7:26 am; edited 1 time in total
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 186
Location: Somewhere in the 77

PostPosted: Sun Mar 24, 2024 2:27 pm    Post subject: Reply with quote

Hi,

I would say you miss the configuration to make works kwallet with your SSH keypass.

Normally, you type only once the password for your SSH key at boot after login.

Maybe these links can helps you out:

- https://wiki.gentoo.org/wiki/KDE#SSH.2FGPG_Agent_startup.2Fshutdown_scripts
- https://superuser.com/questions/1410400/how-can-i-keep-ssh-keys-passwords-in-kde-wallet

Regards,
GASPARD DE RENEFORT
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
picarica
Apprentice
Apprentice


Joined: 11 Aug 2018
Posts: 285

PostPosted: Mon Mar 25, 2024 2:12 pm    Post subject: Reply with quote

kgdrenefort wrote:
Hi,

I would say you miss the configuration to make works kwallet with your SSH keypass.

Normally, you type only once the password for your SSH key at boot after login.

Maybe these links can helps you out:

- https://wiki.gentoo.org/wiki/KDE#SSH.2FGPG_Agent_startup.2Fshutdown_scripts
- https://superuser.com/questions/1410400/how-can-i-keep-ssh-keys-passwords-in-kde-wallet

Regards,
GASPARD DE RENEFORT

well i followed those steps created that ssh.sh script made it autologin have kwallet enabled and all that, but everytime i try to run that ssh-add from terminal or that script i just get this error
Code:
$ ./ssh.sh
Could not open a connection to your authentication agent.

so i am not sure what is he trying to connect to, when variable is set correctly pointing to KSSH
Code:

echo $SSH_ASKPASS
/usr/bin/ksshaskpass



and i have no idea what to do next
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 186
Location: Somewhere in the 77

PostPosted: Mon Mar 25, 2024 2:44 pm    Post subject: Reply with quote

I had a similar problem in the past, did you run ssh-agent as explained here : https://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent

PS : I have to resetup this myself as well, will try and if it's still not working for you we might find a solution, together.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
picarica
Apprentice
Apprentice


Joined: 11 Aug 2018
Posts: 285

PostPosted: Wed Mar 27, 2024 7:25 am    Post subject: Reply with quote

kgdrenefort wrote:
I had a similar problem in the past, did you run ssh-agent as explained here : https://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent

PS : I have to resetup this myself as well, will try and if it's still not working for you we might find a solution, together.

Regards,
GASPARD DE RENEFORT Kévin

i think it worked i tried the startup step, and no it asks me for password at startup and it works, but still manually invoking from terminal is resulting same error but i guess its irrelevant
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum