Files transferred over shell protocol: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Add: website, title. Changed bare reference to CS1/2. | Use this bot. Report bugs. | Suggested by Pancho507 | Linked from User:Pancho507/sandbox/1 | #UCB_webform_linked 887/3850
Tag: nowiki added
 
Line 28:
 
== Session initiation ==
The client initiates SSH or RSH connection with <{{code>|echo FISH:;/bin/sh</code>|fish}} as the command executed on remote machine. This should make it possible for the server to distinguish FISH connections from normal RSH or SSH.
 
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.