This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dolphin remote connection [SOLVED]

Tags: None
(comma "," separated)
User avatar
ckosloff
Registered Member
Posts
124
Karma
0
OS

Dolphin remote connection [SOLVED]

Fri Jan 16, 2015 5:43 am
I have read somewhere that Dolphin can work as an FTP manager of sorts connecting to a remote host to view its internals.
Been looking under control but could not find anything.
Please help.

Last edited by ckosloff on Fri Apr 07, 2023 5:40 pm, edited 1 time in total.
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Dolphin remote connection

Fri Jan 16, 2015 9:57 am
Try for example ftp://ftp.sv.debian.org/debian/ in Dolphin and voilà, you're off.

If that does not answer your question please elaborate.

Have fun :)


Debian testing
User avatar
ckosloff
Registered Member
Posts
124
Karma
0
OS

Re: Dolphin remote connection

Fri Jan 16, 2015 1:50 pm
toad wrote:Try for example ftp://ftp.sv.debian.org/debian/ in Dolphin and voilà, you're off.

Thanks for answer.
I use Debian testing in my computer also.
The problem is that I don't see a bar in Dolphin where I can type stuff, maybe there is a way to configure Dolphin so it will show an address bar?
Maybe an add-on to install?
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Dolphin remote connection

Fri Jan 16, 2015 4:20 pm
Sounds like you got the "navigate" option activated where you see the path only.

Right click on the path and choose the "edit" option.

Does that solve it?


Debian testing
User avatar
ckosloff
Registered Member
Posts
124
Karma
0
OS

Re: Dolphin remote connection

Fri Jan 16, 2015 8:02 pm
toad wrote:Right click on the path and choose the "edit" option.

Bingo! that was what I was looking for, thank you.
Now I need the syntax to connect to some remote host, I usually ssh into it, so what should I use?
For example, if I type sftp://xx.xx.xx.xx, I get this:
Code: Select all
The host key for this server was not found, but another type of key exists.
An attacker might change the default server key to confuse your client into thinking the key does not exist.
Please contact your system administrator.

If I try to ftp to it, I get:
Code: Select all
Could not connect to host xx.xx.xx.218: Timed out trying to connect to remote host.

Thank you.

Last edited by ckosloff on Tue Jan 20, 2015 3:48 am, edited 2 times in total.
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Dolphin remote connection

Sun Jan 18, 2015 12:12 am
iifrc sftp is implemented in dolphin as fish. Try:

Code: Select all
fish://{username[:password]}@{domain}/{path}


Debian testing
User avatar
ckosloff
Registered Member
Posts
124
Karma
0
OS

Re: Dolphin remote connection

Sun Jan 18, 2015 2:37 am
Excellent, thank you,
Normal ftp also asks for username/password, should I follow same syntax?
User avatar
ckosloff
Registered Member
Posts
124
Karma
0
OS

Re: Dolphin remote connection

Tue Jan 20, 2015 3:46 am
Disregard, found all answers, thank you.
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Dolphin remote connection

Tue Jan 20, 2015 8:16 am
Fancy posting them here and marking this thread as solved?


Debian testing
User avatar
ckosloff
Registered Member
Posts
124
Karma
0
OS

Re: Dolphin remote connection  Topic is solved

Tue Jan 20, 2015 2:39 pm
toad wrote:Fancy posting them here and marking this thread as solved?

Sure thing.
For security purposes, my ISP adviced to move ssh to a different port, to obfuscate ssh distributed attacks.
This is done by editing sshd_config in /etc/ssh.
In this scenario, the above syntax would not work, so solution is fish://username:password@xx.xx.xx.xx:12345
The 12345 after the second colon is the port number, this takes us to the root folder inside root, assuming root is the username.
Real root is not a folder, it is just the slash /, so we edit the path backspacing the last /root/ but keeping the first slash, we now access root and everything on the site, assuming that we have root privileges.
Also, I modified Dolphin configuration to make editable path the default, from Control (gear icon) -> configure Dolphin (wrench icon) -> Startup -> put a check on editable location bar ->OK.
I guess syntax for normal ftp is quite obvious from all of the above, but I have not tried it, I don't use password-protected FTP, just SFTP.
Thanks for pointing in the right direction.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]