
ssh-add | 435
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
$HOME/.shosts
Like .rhosts, but allows rhosts authentication without permit-
ting login with rlogin or rsh.
$HOME/.ssh/authorized_keys
Lists RSA/DSA public keys that can be used to log in as this
user.
$HOME/.ssh/config
The user’s configuration file.
$HOME/.ssh/environment
Additional environment variable definitions.
$HOME/.ssh/identity, $HOME/.ssh/id_dsa, $HOME/.ssh/id_rsa
The authentication identity of the user for SSH1 RSA, SSH2
DSA, and SSH2 RSA, respectively.
$HOME/.ssh/identity.pub, $HOME/.ssh/id_dsa.pub,
$HOME/.ssh/id_rsa.pub
The public key for user authentication for SSH1 RSA, SSH2
DSA, and SSH2 RSA, respectively.
$HOME/.ssh/known_hosts
Contains host keys for all hosts the user has logged into that
are not already in the systemwide file at /etc/ssh/ssh_known_
hosts.
$HOME/.ssh/rc
Contains commands executed by ssh after the user has logged
in but before the shell or command is started.
ssh-add
ssh-add [options] [files]
ssh-add -e|-s reader
Add RSA or DSA identities to the authentication agent (see ssh-
agent), which must be running and must be an ancestor of the
current process. ssh-add reads the files created by ssh-keygen for
private keys. It reads the information in these private keys to obtain
RSA or DSA identities. With no arguments specified, ssh-add adds
the