LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Konqueror fish into fish, nested fish command? (https://www.linuxquestions.org/questions/linux-newbie-8/konqueror-fish-into-fish-nested-fish-command-4175452308/)

Altrex 03-01-2013 03:37 PM

Konqueror fish into fish, nested fish command?
 
I am trying to access a computer which is in a network using <konqueror> and <fish> protocol. So I type smth. like:

fish://myusername1@server1 - which gets me into the server but further I want to access the desired computer.

Now I want to be able to do something like:
fish://myusername2@server2

but something like it does not work.

How can I do nested fish commands?
Is it possible? is there a way around it?

Cheers!

bigrigdriver 03-01-2013 04:30 PM

An article at http://archive09.linux.com/articles/56790 says to do it this way:
Quote:

Konqueror has support for browsing all sorts of protocols, not just FTP, HTTP/HTTPS, and the handful usually supported by Web browsers. By using the fish: prefix, for instance, you can browse another site over SSH, or use sftp: for secure FTP. Want an easy way to copy files from one server to another? Set up a split window in Konqueror, and browse both servers using fish://server , and then drag and drop files from one system to another. The only difference between working with local files and remote files using Konqueror is speed.

descendant_command 03-01-2013 04:36 PM

No.
You can create a ssh connection to the visible machine, with a local port tunnelled over that to the other internal machine and fish via your local port. :)
i.e.
Code:

ssh user1@server1 -L 8091:server2:22
Then fish://user2@localhost:8091


All times are GMT -5. The time now is 08:13 PM.