Bug 335682

Summary: kdialog --getopenurl could check for a running ssh-agent before prompting for password
Product: [Frameworks and Libraries] kio-extras Reporter: Antony Lee <anntzer.lee>
Component: defaultAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: faure, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antony Lee 2014-06-02 05:47:19 UTC
When an ssh-agent is running (with SSH_AGENT_PID and SSH_AUTH_SOCK properly set), kdialog --getopenurl could try using the agent when connecting to a network folder, avoiding a password prompt if the agent has cached the decrypted private key.

Reproducible: Always

Steps to Reproduce:
1. Start an ssh-agent and have it cache a decrypted private key.
2. Run "kdialog --getopenurl ." and select a network folder to which you could connect using the ssh key.
Actual Results:  
A password prompt appears.

Expected Results:  
Kdialog should use the information required for connection that is available via the ssh-agent.
Comment 1 David Faure 2018-05-08 12:09:41 UTC
Is this about sftp? fish?
This isn't a kdialog issue, the kioslave handles this.
Comment 2 Christoph Feck 2018-05-31 21:43:17 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Antony Lee 2018-06-01 00:23:10 UTC
This was about ssh access, but I have now switched to using sshfs, which completely obviates this problem (in fact I don't even remember how to access remote folders "directly" from kdialog).  Feel free to close it.
Comment 4 Christoph Feck 2018-06-01 00:41:58 UTC
Thanks for the update; changing status.