SSH-ADD(1)

NAME
ssh-add - adds identities for the authentication agent

SYNOPSIS
ssh-add [-l] [-d] [files]

DESCRIPTION
Ssh-add adds identities to the authentication agent, ssh-agent. When run without arguments, it adds the file $HOME/.ssh/identity. Alternative file names can be given on the command line. If any file has a passphrase, ssh-add asks for the passphrase from the user. If the user is using X11, the passphrase is requested using a small X11 program; otherwise it is read from the user's tty. The authentication agent must be running and must be an ancestor of the current process for ssh-agent to work. All identities currently represented by the agent can be listed by giving the -l option.

OPTIONS
-l Lists all identities currently represented by the agent. -d Instead of adding the identity, removes the identity from the agent.

FILES
$HOME/.ssh/identity Contains the RSA authentication identity of the user. This file should not be readable by anyone but the user. It is possible to specify a passphrase when generating the key; that passphrase will be used to encrypt the private part of this file using IDEA. This is the default file added by ssh-add when no other files have been specified.

AUTHOR
Tatu Ylonen <ylo@cs.hut.fi>

SEE ALSO
ssh-agent(1), ssh-keygen(1), ssh(1), sshd(8)