summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-09-24 06:15:11 +0000
committerDamien Miller <djm@mindrot.org>2015-10-06 12:21:54 +1100
commit4e44a79a07d4b88b6a4e5e8c1bed5f58c841b1b8 (patch)
tree7ef647dabf413a83da2f0c26917a8e0b5e1d2145 /ssh_config.5
parente3cbb06ade83c72b640a53728d362bbefa0008e2 (diff)
upstream commit
add ssh_config CertificateFile option to explicitly list a certificate; patch from Meghana Bhat on bz#2436; ok markus@ Upstream-ID: 58648ec53c510b41c1f46d8fe293aadc87229ab8
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.554
1 files changed, 50 insertions, 4 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 54c42ab80..39cf932d3 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: ssh_config.5,v 1.220 2015/09/22 08:33:23 sobrado Exp $ 36.\" $OpenBSD: ssh_config.5,v 1.221 2015/09/24 06:15:11 djm Exp $
37.Dd $Mdocdate: September 22 2015 $ 37.Dd $Mdocdate: September 24 2015 $
38.Dt SSH_CONFIG 5 38.Dt SSH_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -325,6 +325,41 @@ to be canonicalized to names in the
325or 325or
326.Dq *.c.example.com 326.Dq *.c.example.com
327domains. 327domains.
328.It Cm CertificateFile
329Specifies a file from which the user's certificate is read.
330A corresponding private key must be provided separately in order
331to use this certificate either
332from an
333.Cm IdentityFile
334directive or
335.Fl i
336flag to
337.Xr ssh 1 ,
338via
339.Xr ssh-agent 1 ,
340or via a
341.Cm PKCS11Provider .
342.Pp
343The file name may use the tilde
344syntax to refer to a user's home directory or one of the following
345escape characters:
346.Ql %d
347(local user's home directory),
348.Ql %u
349(local user name),
350.Ql %l
351(local host name),
352.Ql %h
353(remote host name) or
354.Ql %r
355(remote user name).
356.Pp
357It is possible to have multiple certificate files specified in
358configuration files; these certificates will be tried in sequence.
359Multiple
360.Cm CertificateFile
361directives will add to the list of certificates used for
362authentication.
328.It Cm ChallengeResponseAuthentication 363.It Cm ChallengeResponseAuthentication
329Specifies whether to use challenge-response authentication. 364Specifies whether to use challenge-response authentication.
330The argument to this keyword must be 365The argument to this keyword must be
@@ -869,9 +904,13 @@ specifications).
869.It Cm IdentitiesOnly 904.It Cm IdentitiesOnly
870Specifies that 905Specifies that
871.Xr ssh 1 906.Xr ssh 1
872should only use the authentication identity files configured in the 907should only use the authentication identity and certificate files explicitly
908configured in the
873.Nm 909.Nm
874files, 910files
911or passed on the
912.Xr ssh 1
913command-line,
875even if 914even if
876.Xr ssh-agent 1 915.Xr ssh-agent 1
877or a 916or a
@@ -901,6 +940,8 @@ Additionally, any identities represented by the authentication agent
901will be used for authentication unless 940will be used for authentication unless
902.Cm IdentitiesOnly 941.Cm IdentitiesOnly
903is set. 942is set.
943If no certificates have been explicitly specified by
944.Cm CertificateFile ,
904.Xr ssh 1 945.Xr ssh 1
905will try to load certificate information from the filename obtained by 946will try to load certificate information from the filename obtained by
906appending 947appending
@@ -934,6 +975,11 @@ differs from that of other configuration directives).
934may be used in conjunction with 975may be used in conjunction with
935.Cm IdentitiesOnly 976.Cm IdentitiesOnly
936to select which identities in an agent are offered during authentication. 977to select which identities in an agent are offered during authentication.
978.Cm IdentityFile
979may also be used in conjunction with
980.Cm CertificateFile
981in order to provide any certificate also needed for authentication with
982the identity.
937.It Cm IgnoreUnknown 983.It Cm IgnoreUnknown
938Specifies a pattern-list of unknown options to be ignored if they are 984Specifies a pattern-list of unknown options to be ignored if they are
939encountered in configuration parsing. 985encountered in configuration parsing.