[kio-extras] [Bug 375732] Dolphin fails to sftp to Linux box when not a direct connection

Scott Deagan bugzilla_noreply at kde.org
Mon Oct 22 13:04:33 BST 2018


https://bugs.kde.org/show_bug.cgi?id=375732

--- Comment #2 from Scott Deagan <scott.deagan at 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.


More information about the Plasma-devel mailing list