Приложение G: SSH-2 names specified for PuTTY
предыдущая глава | содержание | следующая глава
- G.1 Connection protocol channel request names
- G.2 Key exchange method names
- G.3 Encryption algorithm names
- G.4 Agent extension request names
There are various parts of the SSH-2 protocol where things are specified using a textual name. Names ending in @putty.projects.tartarus.org are reserved for allocation by the PuTTY team. Allocated names are documented here.
G.1 Connection protocol channel request names
These names can be sent in a SSH_MSG_CHANNEL_REQUEST message.
simple@putty.projects.tartarus.org- This is sent by a client to announce that it will not have more than one channel open at a time in the current connection (that one being the one the request is sent on). The intention is that the server, knowing this, can set the window on that one channel to something very large, and leave flow control to TCP. There is no message-specific data.
winadj@putty.projects.tartarus.org- PuTTY sends this request along with some
SSH_MSG_CHANNEL_WINDOW_ADJUSTmessages as part of its window-size tuning. It can be sent on any type of channel. There is no message-specific data. Servers MUST treat it as an unrecognised request and respond withSSH_MSG_CHANNEL_FAILURE.(Some SSH servers get confused by this message, so there is a bug-compatibility mode for disabling it. See section 4.27.3.)
G.2 Key exchange method names
rsa-sha1-draft-00@putty.projects.tartarus.orgrsa-sha256-draft-00@putty.projects.tartarus.orgrsa1024-sha1-draft-01@putty.projects.tartarus.orgrsa1024-sha256-draft-01@putty.projects.tartarus.orgrsa2048-sha256-draft-01@putty.projects.tartarus.orgrsa1024-sha1-draft-02@putty.projects.tartarus.orgrsa2048-sha512-draft-02@putty.projects.tartarus.orgrsa1024-sha1-draft-03@putty.projects.tartarus.orgrsa2048-sha256-draft-03@putty.projects.tartarus.orgrsa1024-sha1-draft-04@putty.projects.tartarus.orgrsa2048-sha256-draft-04@putty.projects.tartarus.org- These appeared in various drafts of what eventually became RFC 4432. They have been superseded by
rsa1024-sha1andrsa2048-sha256.
G.3 Encryption algorithm names
arcfour128-draft-00@putty.projects.tartarus.orgarcfour256-draft-00@putty.projects.tartarus.org- These were used in drafts of what eventually became RFC 4345. They have been superseded by
arcfour128andarcfour256.
G.4 Agent extension request names
The SSH agent protocol, which is only specified in an Internet-Draft at the time of writing (draft-miller-ssh-agent), defines an extension mechanism. These names can be sent in an SSH_AGENTC_EXTENSION message.
add-ppk@putty.projects.tartarus.org- The payload is a single SSH-2
stringcontaining a keypair in the PPK format defined in приложение C. Compared to the standardSSH_AGENTC_ADD_IDENTITY, this extension allows adding keys in encrypted form, with the agent requesting a decryption passphrase from the user on demand, and able to revert the key to encrypted form. reencrypt@putty.projects.tartarus.org- The payload is a single SSH-2
stringspecifying a public key blob, as inSSH_AGENTC_REMOVE_IDENTITY. Requests that the agent forget any cleartext form of a specific key.Returns
SSH_AGENT_SUCCESSif the agent ended up holding the key only in encrypted form (even if it was already encrypted); returnsSSH_AGENT_EXTENSION_FAILUREif not (if it wasn't held by the agent at all, or only in cleartext form). reencrypt-all@putty.projects.tartarus.org- No payload. Requests that the agent forget the cleartext form of any keys for which it holds an encrypted form.
If the agent holds any keys with an encrypted form (or no keys at all), returns
SSH_AGENT_SUCCESSto indicate that no such keys are now held in cleartext form, followed by auint32specifying how many keys remain in cleartext form (because the agent didn't hold an encrypted form for them). If the agent holds nothing but keys in cleartext form, returnsSSH_AGENT_EXTENSION_FAILURE. list-extended@putty.projects.tartarus.org- No payload. Returns
SSH_AGENT_SUCCESSfollowed by a list of identities similar toSSH_AGENT_IDENTITIES_ANSWER, except that each key has an extra SSH-2stringat the end. Currently thatstringcontains a singleuint32flags word, with the following bits defined:- Bit 0
- If set, key is held with an encrypted form (so that the
reencryptextension can do something useful with it). - Bit 1
- If set, key's cleartext form is not currently held (so the user will have to supply a passphrase before the key can be used).