
436
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-s reader
Add key in smartcard reader.
-t life
Set maximum lifetime when adding identities to an agent. The
value of life can be in seconds or another time format speci-
fied in sshd.
-x Lock the agent with a password.
-X Unlock the agent.
ssh-agent
ssh-agent [options] [command [arguments]]
Hold private keys used for public key authentication. ssh-agent is
usually executed at the beginning of an X or login session; then all
other windows or programs given as command are run as clients of
ssh-agent. When a command is specified, the command and any
arguments are executed. The agent dies when the command
completes. Use ssh-add to add keys (identities) to the agent. Oper-
ations that require a private key are performed by the agent, which
returns the results to the requestor. When using ssh-agent, you
must specify a shell—for example:
$ ssh-agent /bin/bash
You can then use ssh-add to add identities.
Options
-a bind_addr
Bind the agent to the socket bind_addr (default is /tmp/ssh-
nnnnnnnn/agent, where nnnnnnnn is a generated number).
-c Write csh commands to standard output. This is the default if
the environment variable SHELL looks like a csh-type shell.
-d Debug mode.
-k Kill the current agent.
-s Write Bourne shell commands to standard output. This is the
default if the ...