- djm@cvs.openbsd.org 2010/03/05 10:28:21

[ssh-add.1 ssh.1 ssh_config.5]
     mention loading of certificate files from [private]-cert.pub when
     they are present; feedback and ok jmc@
This commit is contained in:
Damien Miller 2010-03-05 21:31:11 +11:00
parent 922b541329
commit 5059d8d7e6
4 changed files with 27 additions and 5 deletions

View File

@ -29,6 +29,10 @@
- jmc@cvs.openbsd.org 2010/03/05 08:31:20 - jmc@cvs.openbsd.org 2010/03/05 08:31:20
[ssh.1] [ssh.1]
document certificate authentication; help/ok djm document certificate authentication; help/ok djm
- djm@cvs.openbsd.org 2010/03/05 10:28:21
[ssh-add.1 ssh.1 ssh_config.5]
mention loading of certificate files from [private]-cert.pub when
they are present; feedback and ok jmc@
- (tim) [ssh-pkcs11.c] Fix "non-constant initializer" errors in older - (tim) [ssh-pkcs11.c] Fix "non-constant initializer" errors in older
compilers. OK djm@ compilers. OK djm@
- (djm) [ssh-rand-helper.c] declare optind, avoiding compilation failure - (djm) [ssh-rand-helper.c] declare optind, avoiding compilation failure

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-add.1,v 1.51 2010/02/10 23:20:38 markus Exp $ .\" $OpenBSD: ssh-add.1,v 1.52 2010/03/05 10:28:21 djm Exp $
.\" .\"
.\" -*- nroff -*- .\" -*- nroff -*-
.\" .\"
@ -37,7 +37,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: February 10 2010 $ .Dd $Mdocdate: March 5 2010 $
.Dt SSH-ADD 1 .Dt SSH-ADD 1
.Os .Os
.Sh NAME .Sh NAME
@ -61,7 +61,14 @@ When run without arguments, it adds the files
.Pa ~/.ssh/id_dsa .Pa ~/.ssh/id_dsa
and and
.Pa ~/.ssh/identity . .Pa ~/.ssh/identity .
After loading a private key,
.Nm
will try to load corresponding certificate information from the
filename obtained by appending
.Pa -cert.pub
to the name of the private key file.
Alternative file names can be given on the command line. Alternative file names can be given on the command line.
.Pp
If any file requires a passphrase, If any file requires a passphrase,
.Nm .Nm
asks for the passphrase from the user. asks for the passphrase from the user.

7
ssh.1
View File

@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: ssh.1,v 1.301 2010/03/05 08:31:20 jmc Exp $ .\" $OpenBSD: ssh.1,v 1.302 2010/03/05 10:28:21 djm Exp $
.Dd $Mdocdate: March 5 2010 $ .Dd $Mdocdate: March 5 2010 $
.Dt SSH 1 .Dt SSH 1
.Os .Os
@ -306,6 +306,11 @@ It is possible to have multiple
.Fl i .Fl i
options (and multiple identities specified in options (and multiple identities specified in
configuration files). configuration files).
.Nm
will also try to load certificate information from the filename obtained
by appending
.Pa -cert.pub
to identity filenames.
.It Fl K .It Fl K
Enables GSSAPI-based authentication and forwarding (delegation) of GSSAPI Enables GSSAPI-based authentication and forwarding (delegation) of GSSAPI
credentials to the server. credentials to the server.

View File

@ -34,8 +34,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: ssh_config.5,v 1.128 2010/02/10 23:20:38 markus Exp $ .\" $OpenBSD: ssh_config.5,v 1.129 2010/03/05 10:28:21 djm Exp $
.Dd $Mdocdate: February 10 2010 $ .Dd $Mdocdate: March 5 2010 $
.Dt SSH_CONFIG 5 .Dt SSH_CONFIG 5
.Os .Os
.Sh NAME .Sh NAME
@ -559,6 +559,12 @@ and
for protocol version 2. for protocol version 2.
Additionally, any identities represented by the authentication agent Additionally, any identities represented by the authentication agent
will be used for authentication. will be used for authentication.
.Xr ssh 1
will try to load certificate information from the filename obtained by
appending
.Pa -cert.pub
to the path of a specified
.Cm IdentityFile .
.Pp .Pp
The file name may use the tilde The file name may use the tilde
syntax to refer to a user's home directory or one of the following syntax to refer to a user's home directory or one of the following