This section describes the OpenSSH 2.0 commands and options that are used in the instructions in this chapter. If you are using a different version of SSH, determine the commands and options available in that version of SSH that are equivalent to the following commands.
Table 6–2 OpenSSH 2.0 Commands
Tool |
Description |
---|---|
ssh |
Enables the calling application to invoke another application remotely. When configured to use SSH for communications, the software uses the ssh command to invoke the remote application, either a Remote Agent or a Local Distributor, and uses the standard input and output streams of SSH to communicate with it. |
ssh-agent |
Used when you want to use private keys with passwords. Upload your keys with the ssh-agent so that SSH invocations of the applications communicate with the ssh-agent for authentication. |
ssh-add |
Uploads private keys into ssh-agent. |
ssh-keygen |
Generates the public-private key pair to secure an SSH connection. |
The following options can be used with the ssh command.
Enables authentication agent forwarding
Disables passphrase querying
Allocates a tty even if a command is given
The following option can be used with the ssh-keygen command.
Specifies RSA as the type of key to generate.
The following option can be used with the ssh-agent command.
Kills the agent using the pid set in the environment variable SSH_AGENT_PID. Other implementations might use a different environment variable.