Bug 338432 - fish and sftp behave differently in relation to ssh config
Summary: fish and sftp behave differently in relation to ssh config
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: FISH (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jörg Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 09:00 UTC by Florin Jurcovici
Modified: 2022-12-30 05:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florin Jurcovici 2014-08-21 09:00:10 UTC
Steps:
0. configure a remote host with a ssh key that you store locally as ~/.ssh/not_plain_id_rsa

1. Add a host config in ~/.ssh/config like so:

Host xyz
	HostName some.valid.host.com
	User valid_user
	IdentityFile ~/.ssh/not_plain_id_rsa

2. add ~/.ssh/not_plain_id_rsa to ssh-agent's list of cached keys (using ssh-add)

3. Verify that it's valid by running ssh xyz from the command line (execute ssh -v xyz - you should see that the key ~/.ssh/not_plain_id_rsa is used, instead of the default ~/.ssh/id_rsa)

4. enter sftp://xyz/ in dolphin's address bar
	expected: dolphin connects without asking for a passphrase for the key or a password and lists the file and folders in / on the remote machine

5. enter fish://xyz/ in dolphin's address bar
	expected: same behavior as for step 4.
	actual: dolphin complains about the host being unknown

I think it might be related to https://bugs.kde.org/show_bug.cgi?id=284643.
Comment 1 Frank Reininghaus 2014-08-21 10:23:39 UTC
Thanks for the bug report. I'll reassign to kio/sftp. I cannot say anything about this issue myself because I don't know much about sftp (I don't even know if sftp is actually supposed to read .ssh/config).
Comment 2 Justin Zobel 2022-11-30 05:28:15 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-15 05:13:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-12-30 05:23:59 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!