Files Transferred Over Shell Protocol - Session Initiation

Session Initiation

The client initiates SSH or RSH connection with echo FISH:;/bin/sh 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 FISH and VER to negotiate FISH protocol, its version and extensions.

#FISH echo; start_fish_server; echo '### 200' #VER 0.0.2 <...> echo '### 000'

The server may reply to VER command with a lines like

VER 0.0.0 <...> ### 200

which indicates supported version of the FISH protocol and supported extensions.

Read more about this topic:  Files Transferred Over Shell Protocol

Famous quotes containing the words session and/or initiation:

    The bar is the male kingdom. For centuries it was the bastion of male privilege, the gathering place for men away from their women, a place where men could go to freely indulge in The Bull Session ... the release of the guilty anxiety of the oppressor class.
    Shulamith Firestone (b. 1945)

    Until the end of the Middle Ages, and in many cases afterwards too, in order to obtain initiation in a trade of any sort whatever—whether that of courtier, soldier, administrator, merchant or workman—a boy did not amass the knowledge necessary to ply that trade before entering it, but threw himself into it; he then acquired the necessary knowledge.
    Philippe Ariés (20th century)