Content deleted Content added
m →Session initiation: sxhl Tag: nowiki added |
|||
(5 intermediate revisions by 4 users not shown) | |||
Line 1:
{{short description|Computer protocol}}
{{More
'''Files transferred over Shell protocol''' ('''FISH''') is a network [[Protocol (computing)|protocol]] that uses [[Secure Shell]] (SSH) or [[Remote Shell]] (RSH) to [[file transfer|transfer files]] between computers and manage remote files.
Line 28:
== Session initiation ==
The client initiates SSH or RSH connection with
The first two commands sent to the server are <code>FISH</code> and <code>VER</code> to negotiate FISH protocol, its version and extensions.
{{sxhl|2=fish|<nowiki/>
#FISH
echo; start_fish_server; echo '### 200'
Line 37:
#VER 0.0.2 <feature1> <feature2> <...>
echo '### 000'
}}
The server may reply to VER command with a lines like
VER 0.0.0 <feature2> <...>
### 200
which indicates supported version of the FISH protocol and supported extensions.
== Implementations ==
* [[Midnight Commander]]
* [[
* [[Lftp]]
* fish:// [[KDE]] [[KIO|kioslave]]
* fish as [https://github.com/greyltc/tcl-vfs/blob/master/library/template/fishvfs.tcl tcl-vfs]
* FISH was implemented in [[Emacs]] TRAMP some time ago, but support was removed<ref>[https://github.com/emacs-mirror/emacs/commit/03c1ad4351c10ec998410e8d34f52ac4a1a0decd#diff-96ee1cf8a36451f16ddf3f468f6ac74643eeee171d17054ca0c8cbf6653a26a8 related commit in Emacs]</ref><ref>{{cite web | url=https://lists.gnu.org/archive/html/tramp-devel/2010-09/msg00001.html | title=Re: Tramp's fish method }}</ref> (although TRAMP still can use shell connections in a similar way using tramp-sh.el script file)
== See also ==
|