|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
User Commands ssh-add(1)
NAME
ssh-add - add RSA or DSA identities to the authentication
agent
SYNOPSIS
ssh-add [-lLdDxX] [-t life] [ file ...]
DESCRIPTION
The ssh-add utility adds RSA or DSA identities to the
authentication agent, ssh-agent(1). When run without argu-
ments, it attempts to add all of the files
$HOME/.ssh/identity (RSA v1), $HOME/.ssh/id_rsa (RSA v2),
and $HOME/.ssh/id_dsa (DSA v2) that exist. If more than one
of the private keys exists, an attempt to decrypt each with
the same passphrase will be made before reprompting for a
different passphrase. The passphrase is read from the user's
tty or by running the program defined in SSH_ASKPASS (see
below).
The authentication agent must be running.
OPTIONS
The following options are supported:
-d Instead of adding the identity, this option removes
the identity from the agent.
-D Deletes all identities from the agent.
-l Lists fingerprints of all identities currently
represented by the agent.
-L Lists public key parameters of all identities
currently represented by the agent.
-t life Sets a maximum lifetime when adding identities to
an agent. The lifetime may be specified in seconds
or in a time format specified in sshd(1M).
-x Locks the agent with a password.
SunOS 5.10 Last change: 9 Jan 2004 1
User Commands ssh-add(1)
-X Unlocks the agent.
ENVIRONMENT VARIABLES
DISPLAY If ssh-add needs a passphrase, it will read
SSH_ASKPASS the passphrase from the current terminal if
it was run from a terminal. If ssh-add does
not have a terminal associated with it but
DISPLAY and SSH_ASKPASS are set, it will
execute the program specified by SSH_ASKPASS
and open an X11 window to read the
passphrase. This is particularly useful when
calling ssh-add from a .Xsession or related
script.
SSH_AUTH_SOCK Identifies the path of a unix-domain socket
used to communicate with the agent.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
FILES
These files should not be readable by anyone but the user.
Notice that ssh-add ignores a file if it is accessible by
others. It is possible to specify a passphrase when generat-
ing the key; that passphrase will be used to encrypt the
private part of this file.
If these files are stored on a network file system it is
assumed that either the protection provided in the file
themselves or the transport layer of the network file system
provides sufficient protection for the site policy. If this
is not the case, then it is recommended the key files are
stored on removable media or locally on the relevant hosts.
Recommended names for the DSA and RSA key files:
SunOS 5.10 Last change: 9 Jan 2004 2
User Commands ssh-add(1)
$HOME/.ssh/identity Contains the RSA authentica-
tion identity of the user
for protocol version 1.
$HOME/.ssh/identity.pub Contains the public part of
the RSA authentication iden-
tity of the user for proto-
col version 1.
$HOME/.ssh/id_dsa Contains the private DSA
authentication identity of
the user.
$HOME/.ssh/id_dsa.pub Contains the public part of
the DSA authentication iden-
tity of the user.
$HOME/.ssh/id_rsa Contains the private RSA
authentication identity of
the user.
$HOME/.ssh/id_rsa.pub Contains the public part of
the RSA authentication iden-
tity of the user.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWsshu |
|_____________________________|_____________________________|
| Interface Stability | Evolving |
|_____________________________|_____________________________|
SEE ALSO
SunOS 5.10 Last change: 9 Jan 2004 3
User Commands ssh-add(1)
ssh(1), ssh-agent(1), ssh-keygen(1), sshd(1M), attributes(5)
To view license terms, attribution, and copyright for
OpenSSH, the default path is
/var/sadm/pkg/SUNWsshdr/install/copyright. If the Solaris
operating environment has been installed anywhere other than
the default, modify the given path to access the file at the
installed location.
AUTHORS
OpenSSH is a derivative of the original and free ssh 1.2.12
release by Tatu Ylonen. Aaron Campbell, Bob Beck, Markus
Friedl, Niels Provos, Theo de Raadt and Dug Song removed
many bugs, added newer features and created Open SSH. Markus
Friedl contributed the support for SSH protocol versions 1.5
and 2.0.
SunOS 5.10 Last change: 9 Jan 2004 4
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Wed Sep 12 11:25:29 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
CPAN man page (4333 hits) (Suse Linux 10.1)
ssh man page (4186 hits) (Suse Linux 10.1)
adv_cap_autoneg man page (4166 hits) (Solaris 10 11_06)
sqlite3 man page (4089 hits) (openSUSE 10.2)
svn man page (3251 hits) (FreeBSD 6.2)
startproc man page (1908 hits) (Suse Linux 10.1)
pprosetup man page (1667 hits) (Solaris 10 11_06)
netcat man page (1614 hits) (Suse Linux 10.1)
signal man page (1595 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (1562 hits) (Solaris 10 11_06)
|