Bug 369098

Summary: Can't mount remote filesystem with some ssh_config options.
Product: [Applications] kdeconnect Reporter: Le Baron d'Merde <lebarondemerde>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Le Baron d'Merde 2016-09-20 04:38:22 UTC
Hello,

I am experiencing problems to use sshfs with KDEConnect. I have some options on my ssh_config and when some of them are disabled the problem disappear. 

The point were I was not able to identify which ones are causing it because one time I have sshfs/kdeconnect working, if I enable everything again it still mount the remote filesystem - unless I restart the system.

So, I do not know if it is a specific bug or something.

UseRoaming no
ServerAliveInterval 60
PubkeyAuthentication yes
PasswordAuthentication no
ChallengeResponseAuthentication no
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr

Reference: https://stribika.github.io/2015/01/04/secure-secure-shell.html

Reproducible: Always
Comment 1 Albert Vaca Cintora 2016-09-20 09:33:35 UTC
Git commit e97107156b6c2555ccdc3dfe884edee246a44d66 by Albert Vaca.
Committed on 20/09/2016 at 09:32.
Pushed by albertvaka into branch '1.x'.

Ignore user config as it might cause our connection to fail

M  +1    -0    plugins/sftp/mounter.cpp

http://commits.kde.org/kdeconnect-kde/e97107156b6c2555ccdc3dfe884edee246a44d66
Comment 2 Le Baron d'Merde 2016-09-20 14:09:33 UTC
Thanks!
Comment 3 Albert Vaca Cintora 2016-09-21 08:30:47 UTC
Do you build kdeconnect from sources? This fix didn't make it into the 1.0.1 release, so it might take a while until it is available on your distro repos.
Comment 4 Le Baron d'Merde 2016-09-21 15:29:27 UTC
Yes, I am using Gentoo here. The 1.0.1 just entered on portage three today, I will get a patch from the kde git later.

Thanks to notice!
Comment 5 Le Baron d'Merde 2016-09-21 15:59:59 UTC
Patch applied, and working as expected. :-)

Thanks!