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.2The server may reply to VER command with a lines like
VER 0.0.0which 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)
“The difficult and risky task of meeting and mastering the newwhether it be the settlement of new lands or the initiation of new ways of lifeis not undertaken by the vanguard of society but by its rear. It is the misfits, failures, fugitives, outcasts and their like who are among the first to grapple with the new.”
—Eric Hoffer (19021983)