ssh-add.0 (214979) | ssh-add.0 (218767) |
---|---|
1SSH-ADD(1) OpenBSD Reference Manual SSH-ADD(1) 2 3NAME | 1SSH-ADD(1) OpenBSD Reference Manual SSH-ADD(1) 2 3NAME |
4 ssh-add - adds RSA or DSA identities to the authentication agent | 4 ssh-add - adds private key identities to the authentication agent |
5 6SYNOPSIS 7 ssh-add [-cDdLlXx] [-t life] [file ...] 8 ssh-add -s pkcs11 9 ssh-add -e pkcs11 10 11DESCRIPTION | 5 6SYNOPSIS 7 ssh-add [-cDdLlXx] [-t life] [file ...] 8 ssh-add -s pkcs11 9 ssh-add -e pkcs11 10 11DESCRIPTION |
12 ssh-add adds RSA or DSA identities to the authentication agent, | 12 ssh-add adds private key identities to the authentication agent, |
13 ssh-agent(1). When run without arguments, it adds the files | 13 ssh-agent(1). When run without arguments, it adds the files |
14 ~/.ssh/id_rsa, ~/.ssh/id_dsa and ~/.ssh/identity. After loading a 15 private key, ssh-add will try to load corresponding certificate | 14 ~/.ssh/id_rsa, ~/.ssh/id_dsa, ~/.ssh/id_ecdsa and ~/.ssh/identity. After 15 loading a private key, ssh-add will try to load corresponding certificate |
16 information from the filename obtained by appending -cert.pub to the name 17 of the private key file. Alternative file names can be given on the 18 command line. 19 20 If any file requires a passphrase, ssh-add asks for the passphrase from 21 the user. The passphrase is read from the user's tty. ssh-add retries 22 the last passphrase if multiple identity files are given. 23 --- 58 unchanged lines hidden (view full) --- 82 ~/.ssh/identity 83 Contains the protocol version 1 RSA authentication identity of 84 the user. 85 86 ~/.ssh/id_dsa 87 Contains the protocol version 2 DSA authentication identity of 88 the user. 89 | 16 information from the filename obtained by appending -cert.pub to the name 17 of the private key file. Alternative file names can be given on the 18 command line. 19 20 If any file requires a passphrase, ssh-add asks for the passphrase from 21 the user. The passphrase is read from the user's tty. ssh-add retries 22 the last passphrase if multiple identity files are given. 23 --- 58 unchanged lines hidden (view full) --- 82 ~/.ssh/identity 83 Contains the protocol version 1 RSA authentication identity of 84 the user. 85 86 ~/.ssh/id_dsa 87 Contains the protocol version 2 DSA authentication identity of 88 the user. 89 |
90 ~/.ssh/id_ecdsa 91 Contains the protocol version 2 ECDSA authentication identity of 92 the user. 93 |
|
90 ~/.ssh/id_rsa 91 Contains the protocol version 2 RSA authentication identity of 92 the user. 93 94 Identity files should not be readable by anyone but the user. Note that 95 ssh-add ignores identity files if they are accessible by others. 96 | 94 ~/.ssh/id_rsa 95 Contains the protocol version 2 RSA authentication identity of 96 the user. 97 98 Identity files should not be readable by anyone but the user. Note that 99 ssh-add ignores identity files if they are accessible by others. 100 |
97DIAGNOSTICS | 101EXIT STATUS |
98 Exit status is 0 on success, 1 if the specified command fails, and 2 if 99 ssh-add is unable to contact the authentication agent. 100 101SEE ALSO 102 ssh(1), ssh-agent(1), ssh-keygen(1), sshd(8) 103 104AUTHORS 105 OpenSSH is a derivative of the original and free ssh 1.2.12 release by 106 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo 107 de Raadt and Dug Song removed many bugs, re-added newer features and 108 created OpenSSH. Markus Friedl contributed the support for SSH protocol 109 versions 1.5 and 2.0. 110 | 102 Exit status is 0 on success, 1 if the specified command fails, and 2 if 103 ssh-add is unable to contact the authentication agent. 104 105SEE ALSO 106 ssh(1), ssh-agent(1), ssh-keygen(1), sshd(8) 107 108AUTHORS 109 OpenSSH is a derivative of the original and free ssh 1.2.12 release by 110 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo 111 de Raadt and Dug Song removed many bugs, re-added newer features and 112 created OpenSSH. Markus Friedl contributed the support for SSH protocol 113 versions 1.5 and 2.0. 114 |
111OpenBSD 4.8 March 5, 2010 OpenBSD 4.8 | 115OpenBSD 4.8 October 28, 2010 OpenBSD 4.8 |