summaryrefslogtreecommitdiff
path: root/ssh-add.1
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-03-31 10:46:28 +0100
committerColin Watson <cjwatson@debian.org>2010-03-31 10:46:28 +0100
commitefd3d4522636ae029488c2e9730b60c88e257d2e (patch)
tree31e02ac3f16090ce8c53448677356b2b7f423683 /ssh-add.1
parentbbec4db36d464ea1d464a707625125f9fd5c7b5e (diff)
parentd1a87e462e1db89f19cd960588d0c6b287cb5ccc (diff)
* New upstream release (LP: #535029).
- After a transition period of about 10 years, this release disables SSH protocol 1 by default. Clients and servers that need to use the legacy protocol must explicitly enable it in ssh_config / sshd_config or on the command-line. - Remove the libsectok/OpenSC-based smartcard code and add support for PKCS#11 tokens. This support is enabled by default in the Debian packaging, since it now doesn't involve additional library dependencies (closes: #231472, LP: #16918). - Add support for certificate authentication of users and hosts using a new, minimal OpenSSH certificate format (closes: #482806). - Added a 'netcat mode' to ssh(1): "ssh -W host:port ...". - Add the ability to revoke keys in sshd(8) and ssh(1). (For the Debian package, this overlaps with the key blacklisting facility added in openssh 1:4.7p1-9, but with different file formats and slightly different scopes; for the moment, I've roughly merged the two.) - Various multiplexing improvements, including support for requesting port-forwardings via the multiplex protocol (closes: #360151). - Allow setting an explicit umask on the sftp-server(8) commandline to override whatever default the user has (closes: #496843). - Many sftp client improvements, including tab-completion, more options, and recursive transfer support for get/put (LP: #33378). The old mget/mput commands never worked properly and have been removed (closes: #270399, #428082). - Do not prompt for a passphrase if we fail to open a keyfile, and log the reason why the open failed to debug (closes: #431538). - Prevent sftp from crashing when given a "-" without a command. Also, allow whitespace to follow a "-" (closes: #531561).
Diffstat (limited to 'ssh-add.1')
-rw-r--r--ssh-add.132
1 files changed, 20 insertions, 12 deletions
diff --git a/ssh-add.1 b/ssh-add.1
index 829c85445..7e8936262 100644
--- a/ssh-add.1
+++ b/ssh-add.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-add.1,v 1.46 2007/06/12 13:41:03 jmc Exp $ 1.\" $OpenBSD: ssh-add.1,v 1.52 2010/03/05 10:28:21 djm Exp $
2.\" 2.\"
3.\" -*- nroff -*- 3.\" -*- nroff -*-
4.\" 4.\"
@@ -37,7 +37,7 @@
37.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 37.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
38.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 38.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39.\" 39.\"
40.Dd $Mdocdate: June 12 2007 $ 40.Dd $Mdocdate: March 5 2010 $
41.Dt SSH-ADD 1 41.Dt SSH-ADD 1
42.Os 42.Os
43.Sh NAME 43.Sh NAME
@@ -49,9 +49,9 @@
49.Op Fl t Ar life 49.Op Fl t Ar life
50.Op Ar 50.Op Ar
51.Nm ssh-add 51.Nm ssh-add
52.Fl s Ar reader 52.Fl s Ar pkcs11
53.Nm ssh-add 53.Nm ssh-add
54.Fl e Ar reader 54.Fl e Ar pkcs11
55.Sh DESCRIPTION 55.Sh DESCRIPTION
56.Nm 56.Nm
57adds RSA or DSA identities to the authentication agent, 57adds RSA or DSA identities to the authentication agent,
@@ -61,7 +61,14 @@ When run without arguments, it adds the files
61.Pa ~/.ssh/id_dsa 61.Pa ~/.ssh/id_dsa
62and 62and
63.Pa ~/.ssh/identity . 63.Pa ~/.ssh/identity .
64After loading a private key,
65.Nm
66will try to load corresponding certificate information from the
67filename obtained by appending
68.Pa -cert.pub
69to the name of the private key file.
64Alternative file names can be given on the command line. 70Alternative file names can be given on the command line.
71.Pp
65If any file requires a passphrase, 72If any file requires a passphrase,
66.Nm 73.Nm
67asks for the passphrase from the user. 74asks for the passphrase from the user.
@@ -105,17 +112,17 @@ If no public key is found at a given path,
105will append 112will append
106.Pa .pub 113.Pa .pub
107and retry. 114and retry.
108.It Fl e Ar reader 115.It Fl e Ar pkcs11
109Remove key in smartcard 116Remove keys provided by the PKCS#11 shared library
110.Ar reader . 117.Ar pkcs11 .
111.It Fl L 118.It Fl L
112Lists public key parameters of all identities currently represented 119Lists public key parameters of all identities currently represented
113by the agent. 120by the agent.
114.It Fl l 121.It Fl l
115Lists fingerprints of all identities currently represented by the agent. 122Lists fingerprints of all identities currently represented by the agent.
116.It Fl s Ar reader 123.It Fl s Ar pkcs11
117Add key in smartcard 124Add keys provided by the PKCS#11 shared library
118.Ar reader . 125.Ar pkcs11 .
119.It Fl t Ar life 126.It Fl t Ar life
120Set a maximum lifetime when adding identities to an agent. 127Set a maximum lifetime when adding identities to an agent.
121The lifetime may be specified in seconds or in a time format 128The lifetime may be specified in seconds or in a time format
@@ -152,8 +159,9 @@ may be necessary to redirect the input from
152.Pa /dev/null 159.Pa /dev/null
153to make this work.) 160to make this work.)
154.It Ev SSH_AUTH_SOCK 161.It Ev SSH_AUTH_SOCK
155Identifies the path of a unix-domain socket used to communicate with the 162Identifies the path of a
156agent. 163.Ux Ns -domain
164socket used to communicate with the agent.
157.El 165.El
158.Sh FILES 166.Sh FILES
159.Bl -tag -width Ds 167.Bl -tag -width Ds