Discussion:
[kio-extras] [Bug 375732] Dolphin fails to sftp to Linux box when not a direct connection
Elvis Angelaccio
2017-02-10 18:20:47 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=375732

Elvis Angelaccio <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|bars: location |default
Product|dolphin |kio-extras
CC| |***@kde.org
Assignee|dolphin-bugs-***@kde.org |plasma-***@kde.org
--
You are receiving this mail because:
You are the assignee for the bug.
Wari Wahab
2017-08-24 06:24:40 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=375732

Wari Wahab <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #1 from Wari Wahab <***@gmail.com> ---
I can confirm this.

<code>
Aug 24 14:20:21 dealio kdeinit5[2438]: log_kio_sftp: file system free space of
QUrl("sftp://dev2-152")
Aug 24 14:20:21 dealio kdeinit5[2438]: log_kio_sftp: checking cache:
info.username = "" , info.url = "sftp://dev2-152"
Aug 24 14:20:21 dealio kdeinit5[2438]: log_kio_sftp: Creating the SSH session
and setting options
Aug 24 14:20:21 dealio kdeinit5[2438]: log_kio_sftp: Trying to connect to the
SSH server
Aug 24 14:20:21 dealio kdeinit5[2438]: log_kio_sftp: username= "" , host=
"dev2-152" , port= 22
Aug 24 14:20:21 dealio kdeinit5[2438]: log_kio_sftp:
Aug 24 14:20:21 dealio kdeinit5[2438]: log_kio_sftp: connected ? false
username: old= "" new= ""
</code>

I can `sftp dev2-152` fine on the command line.

dev2-152 definition on ~/.ssh/config almost the same as OP. Connecting using
`sftp://192.168.2.152` works (that's a direct connection to the server instead
of going through a hop)
--
You are receiving this mail because:
You are the assignee for the bug.
Nate Graham
2018-05-09 21:39:29 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=375732

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|default |SFTP
CC| |***@kde.org
--
You are receiving this mail because:
You are the assignee for the bug.
Scott Deagan
2018-10-22 12:04:33 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=375732

--- Comment #2 from Scott Deagan <***@gmail.com> ---
I have found a workaround for this: in Dolphin, use "fish://" instaead of
"sftp://".

As an example, consider the following in your ~/.ssh/config:

Host ExternalHost # Host A - external/Internet facing.
Hostname 123.123.123.123 # Public IP address for Host A.
User myusername # Username for Host A.
IdentityFile ~/.ssh/external_machine_private_key


Host InternalHost # Host B - internal (target host).
HostName 192.168.0.123 # IP address of target host on internal LAN.
User yourusername # User on Host B.
IdentityFile ~/.ssh/your_private_key # Private key for Host B.
ProxyCommand ssh -q ExternalHost nc -w100000 %h %p 2> /dev/null

In Dolphin, pressing CTRL + L (to make the address bar editable), then enter:

fish://InternalHost

This works as expected - Dolphin will open the user's home directory on
192.168.0.123.
--
You are receiving this mail because:
You are the assignee for the bug.
Philipp Maierhöfer
2018-12-08 15:43:03 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=375732

Philipp Maierhöfer <***@gmx.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmx.net

--- Comment #3 from Philipp Maierhöfer <***@gmx.net> ---
This is a bug in libssh that has just been fixed. See
https://bugs.libssh.org/T109.
--
You are receiving this mail because:
You are the assignee for the bug.
Nate Graham
2018-12-08 15:44:36 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=375732

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REPORTED |RESOLVED
Resolution|--- |UPSTREAM

--- Comment #4 from Nate Graham <***@kde.org> ---
Great news!
--
You are receiving this mail because:
You are the assignee for the bug.
Nate Graham
2018-12-08 15:44:50 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=375732

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
URL| |https://bugs.libssh.org/T10
| |9
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...