aboutsummaryrefslogtreecommitdiff
path: root/ssh.0
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.0')
-rw-r--r--ssh.032
1 files changed, 19 insertions, 13 deletions
diff --git a/ssh.0 b/ssh.0
index 4f8e5325e2d9..055bad3b686f 100644
--- a/ssh.0
+++ b/ssh.0
@@ -10,7 +10,7 @@ SYNOPSIS
[-J destination] [-L address] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address]
[-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] destination
- [command]
+ [command [argument ...]]
DESCRIPTION
ssh (SSH client) is a program for logging into a remote machine and for
@@ -24,8 +24,11 @@ DESCRIPTION
ssh://[user@]hostname[:port]. The user must prove their identity to the
remote machine using one of several methods (see below).
- If a command is specified, it is executed on the remote host instead of a
- login shell.
+ If a command is specified, it will be executed on the remote host instead
+ of a login shell. A complete command line may be specified as command,
+ or it may have additional arguments. If supplied, the arguments will be
+ appended to the command, separated by spaces, before it is sent to the
+ server to be executed.
The options are as follows:
@@ -137,15 +140,18 @@ DESCRIPTION
-i identity_file
Selects a file from which the identity (private key) for public
- key authentication is read. The default is ~/.ssh/id_dsa,
- ~/.ssh/id_ecdsa, ~/.ssh/id_ecdsa_sk, ~/.ssh/id_ed25519,
- ~/.ssh/id_ed25519_sk and ~/.ssh/id_rsa. Identity files may also
- be specified on a per-host basis in the configuration file. It
- is possible to have multiple -i options (and multiple identities
- specified in configuration files). If no certificates have been
- explicitly specified by the CertificateFile directive, ssh will
- also try to load certificate information from the filename
- obtained by appending -cert.pub to identity filenames.
+ key authentication is read. You can also specify a public key
+ file to use the corresponding private key that is loaded in
+ ssh-agent(1) when the private key file is not present locally.
+ The default is ~/.ssh/id_dsa, ~/.ssh/id_ecdsa,
+ ~/.ssh/id_ecdsa_sk, ~/.ssh/id_ed25519, ~/.ssh/id_ed25519_sk and
+ ~/.ssh/id_rsa. Identity files may also be specified on a per-
+ host basis in the configuration file. It is possible to have
+ multiple -i options (and multiple identities specified in
+ configuration files). If no certificates have been explicitly
+ specified by the CertificateFile directive, ssh will also try to
+ load certificate information from the filename obtained by
+ appending -cert.pub to identity filenames.
-J destination
Connect to the target host by first making a ssh connection to
@@ -1007,4 +1013,4 @@ AUTHORS
created OpenSSH. Markus Friedl contributed the support for SSH protocol
versions 1.5 and 2.0.
-OpenBSD 6.9 July 28, 2021 OpenBSD 6.9
+OpenBSD 6.9 September 10, 2021 OpenBSD 6.9