- dtucker@cvs.openbsd.org 2004/05/13 02:47:50
[ssh-agent.1] Add examples to ssh-agent.1, bz#481 from Ralf Hauser; ok deraadt@
This commit is contained in:
parent
1f8311c836
commit
a86b453bb3
|
@ -31,6 +31,9 @@
|
||||||
[auth.c auth2-none.c authfile.c channels.c monitor.c monitor_mm.c
|
[auth.c auth2-none.c authfile.c channels.c monitor.c monitor_mm.c
|
||||||
packet.c packet.h progressmeter.c session.c openbsd-compat/xmmap.c]
|
packet.c packet.h progressmeter.c session.c openbsd-compat/xmmap.c]
|
||||||
improve some code lint did not like; djm millert ok
|
improve some code lint did not like; djm millert ok
|
||||||
|
- dtucker@cvs.openbsd.org 2004/05/13 02:47:50
|
||||||
|
[ssh-agent.1]
|
||||||
|
Add examples to ssh-agent.1, bz#481 from Ralf Hauser; ok deraadt@
|
||||||
|
|
||||||
20040502
|
20040502
|
||||||
- (dtucker) OpenBSD CVS Sync
|
- (dtucker) OpenBSD CVS Sync
|
||||||
|
@ -1107,4 +1110,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3350 2004/05/13 06:39:33 dtucker Exp $
|
$Id: ChangeLog,v 1.3351 2004/05/13 06:45:46 dtucker Exp $
|
||||||
|
|
22
ssh-agent.1
22
ssh-agent.1
|
@ -1,4 +1,4 @@
|
||||||
.\" $OpenBSD: ssh-agent.1,v 1.39 2003/06/10 09:12:11 jmc Exp $
|
.\" $OpenBSD: ssh-agent.1,v 1.40 2004/05/13 02:47:50 dtucker Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
|
.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
@ -134,13 +134,25 @@ remote logins, and the user can thus use the privileges given by the
|
||||||
identities anywhere in the network in a secure way.
|
identities anywhere in the network in a secure way.
|
||||||
.Pp
|
.Pp
|
||||||
There are two main ways to get an agent set up:
|
There are two main ways to get an agent set up:
|
||||||
Either the agent starts a new subcommand into which some environment
|
The first is that the agent starts a new subcommand into which some environment
|
||||||
variables are exported, or the agent prints the needed shell commands
|
variables are exported, eg
|
||||||
(either
|
.Cm ssh-agent xterm & .
|
||||||
|
The second is that the agent prints the needed shell commands (either
|
||||||
.Xr sh 1
|
.Xr sh 1
|
||||||
or
|
or
|
||||||
.Xr csh 1
|
.Xr csh 1
|
||||||
syntax can be generated) which can be evalled in the calling shell.
|
syntax can be generated) which can be evalled in the calling shell, eg
|
||||||
|
.Cm eval `ssh-agent -s`
|
||||||
|
for Bourne-type shells such as
|
||||||
|
.Xr sh 1
|
||||||
|
or
|
||||||
|
.Xr ksh 1
|
||||||
|
and
|
||||||
|
.Cm eval `ssh-agent -c`
|
||||||
|
for
|
||||||
|
.Xr csh 1
|
||||||
|
and derivatives.
|
||||||
|
.Pp
|
||||||
Later
|
Later
|
||||||
.Xr ssh 1
|
.Xr ssh 1
|
||||||
looks at these variables and uses them to establish a connection to the agent.
|
looks at these variables and uses them to establish a connection to the agent.
|
||||||
|
|
Loading…
Reference in New Issue