Fetching contributors…
Cannot retrieve contributors at this time
116 lines (114 sloc) 3.83 KB
.TH ssh\-pageant 1 2014\(hy11\(hy23 1.4 Cygwin
ssh\-pageant \(hy authentication agent
\fBssh\-pageant\fP [\fB\-c\fP | \fB\-s\fP | \fB\-S\fP \fIshell\fP] [\fB\-a\fP \fIsocket\fP]
[\fIcommand\fP [\fIarg ...\fP]]
\fBssh\-pageant\fP [\fB\-c\fP | \fB\-s\fP | \fB\-S\fP \fIshell\fP] \fB\-k\fP
\fBssh\-pageant\fP is an SSH authentication agent for Cygwin that links OpenSSH
to PuTTY's Pageant. It acts very much like ssh\-agent, except it leaves the
key storage to a separately\(hyinvoked Pageant instance.
A UNIX\(hydomain socket is first created which proxies authentication requests
to Pageant. If a \fIcommand\fP is supplied, this is executed with any
additional arguments given and with environment variables set to use the new
socket. Otherwise, ssh\-pageant runs in the background and prints shell
commands intended to set the same environment variables for the calling shell.
If invoked with \fB\-k\fP, ssh\-pageant will instead kill its previous instance
and print shell commands to unset the environment variables.
The standard GNU option formats are accepted, with single dashes introducing
short options and double dashes introducing long options, e.g.
\fB\-o\fP\ \fIarg\fP, \fB\-\-option\fP\ \fIarg\fP, and
\fB\-\-option=\fP\fIarg\fP. Options marked with \fB(*)\fP are meant to be
equivalent to the same option in ssh\-agent.
\fB\-h\fP, \fB\-\-help\fP
Display a summary of options and exit.
\fB\-v\fP, \fB\-\-version\fP
Display version and copyright information and exit.
Use C\(hystyle shell commands (default for csh-like SHELL). \fB(*)\fP
Use Bourne\(hystyle shell commands (default for other SHELL). \fB(*)\fP
\fB\-S\fP \fIshell\fP
Use the specified \fIshell\fP style for commands, overriding the automatic
SHELL detection. The currently recognized values are "\fBcsh\fP",
"\fBfish\fP", and "\fBbourne\fP" or "\fBsh\fP".
Kill the current ssh\-pageant process. \fB(*)\fP
Enable debug mode. \fB(*)\fP
Enable quiet mode.
\fB\-a\fP \fIsocket\fP
Bind to a specific \fIsocket\fP address. \fB(*)\fP
\fB\-r\fP, \fB\-\-reuse\fP
Allow reusing an existing \fB\-a\fP \fIsocket\fP
\fB\-t\fP \fItime\fP
Limit key lifetime (not supported by Pageant). \fB(*)\fP
The commands that ssh\-pageant outputs are best used with the shell's "eval"
command. For example, this configuration will automatically configure the
agent for each bash session:
if [ \-z "$SSH_AUTH_SOCK" \-a \-x /usr/bin/ssh\-pageant ]; then
eval $(/usr/bin/ssh\-pageant \-q)
trap logout HUP
if [ \-x /usr/bin/ssh\-pageant \-a ! \-z "$SSH_PAGEANT_PID" ]; then
eval $(/usr/bin/ssh\-pageant \-qk 2>/dev/null)
These commands will configure the agent for each fish session:
eval (/usr/bin/ssh-pageant -rq -S fish -a "/tmp/.ssh-pageant-$USERNAME")
Determines the default style of shell commands. If it contains "csh", then
\fB\-c\fP will be used, otherwise \fB\-s\fP is assumed.
Holds the path to the agent's UNIX\(hydomain socket.
Holds the agent's process ID, used by \fB\-k\fP to kill it.
Please report bugs or suggest enhancements via the issue tracker at
Since pageant doesn't support time limits, invoking ssh\-add with the \-t
option will result in a response of SSH_AGENT_FAILURE.
Copyright (C) 2009\(hy2014 Josh Stone
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.BR ssh\-agent (1)