5

The fish protocol is a sort of ftp over ssh, that is touted as not needing special software on the server side (unlike scp and sftp).

From a cursory glance it seems like it allows fish commands that fall back to basic shell commands if the server doesn't have the fish software installed. But why not just use the shell commands directly?

(The question linked to above explains the differences between the various protocals, but it doesn't explain the mechanism of fish, or why bother with the protocal if you are sending equivalent shell commands anyway.)

7
  • 2
    scp and ssh don't require "special" software; a secure shell server is all that is needed, and is a core package in nearly all Unix-like distributionns. Commented Jul 10, 2017 at 17:34
  • (fish also needs ssh. I referenced scp and sftp) I mean special as in a separate command, not as in unique or uncommon. See the linked page (in comments) where this is pointed out. Commented Jul 10, 2017 at 17:40
  • @bgvaughan - that is the question I linked to in my own question. This question is specifically about the fish protocal: since it includes basic shell commands running over ssh (and as such is advertised as not needing software on the server), what's the point of the protocal itself? Commented Jul 10, 2017 at 18:19
  • 1
    If SFTP isn't available, fish fails over to other commands. It's explained thoroughly in the answers to that other question. Commented Jul 10, 2017 at 19:04
  • 1
    Is there a specific problem you're trying to solve? Because as far as I know, no one does bother with "fish". It's an obscure, probably obsolete, feature specific to Midnight Commander. Commented Jul 10, 2017 at 22:26

1 Answer 1

3

Fish means FIles transferred over SHell protocol. It was designed for the midnight commander file manager and is not specifically bound to ssh. It can also run on rsh.

From the README.fish in the midnight commander package.

This protocol was designed for transferring files over a remote shell connection (rsh and compatibles). It can be as well used for transfers over rsh, and there may be other uses.

1

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.