summaryrefslogtreecommitdiff
path: root/ssh-agent.1
diff options
context:
space:
mode:
authordamien <damien>1999-11-08 04:30:59 +0000
committerdamien <damien>1999-11-08 04:30:59 +0000
commite5526e70c5b194f78e4607d40869815dd0b9cce7 (patch)
tree3c7cddb50f71a838947d5fda204b569d879dc757 /ssh-agent.1
parent4672b10b0dafeeb89591413ed086c69aa4b8dfff (diff)
downloadopenssh-e5526e70c5b194f78e4607d40869815dd0b9cce7.tar.gz
Lots of changes:
- Removed lots of unnecessary checks from autoconf - Added support and autoconf test for openpty() function (Unix98 pty support) - Fix for scp not finding ssh if not installed as /usr/bin/ssh - Added TODO file - Merged parts of Debian patch From Phil Hands <phil@hands.com>: - Added ssh-askpass program - Added ssh-askpass support to ssh-add.c - Create symlinks for slogin on install - Fix "distclean" target in makefile - Added example for ssh-agent to manpage - Added support for PAM_TEXT_INFO messages - Disable internal /etc/nologin support if PAM enabled - Merged latest OpenBSD CVS changes: - [sshd.c] don't send fail-msg but disconnect if too many authentication failures - [sshd.c] replace assert() with error, fatal or packet_disconnect - [sshd.c] remove unused argument. ok dugsong - [sshd.c] typo - [rsa.c] clear buffers used for encryption. ok: niels - [rsa.c] replace assert() with error, fatal or packet_disconnect - Fixed coredump after merge of OpenBSD rsa.c patch
Diffstat (limited to 'ssh-agent.1')
-rw-r--r--ssh-agent.18
1 files changed, 8 insertions, 0 deletions
diff --git a/ssh-agent.1 b/ssh-agent.1
index 8b9504fa..3fef3a47 100644
--- a/ssh-agent.1
+++ b/ssh-agent.1
@@ -109,6 +109,14 @@ environment variable holds the agent's PID.
.Pp
The agent exits automatically when the command given on the command
line terminates.
+.Pp
+Here's a trick that will allow you to start this up from your .bash_profile (just put it in as the first thing that happens):
+.Sp
+.Vb 1
+
+\& [ ! "$SSH_AGENT_PID" ] && exec ssh-agent -- bash --login
+\& ssh-add
+.Ve
.Sh FILES
.Bl -tag -width Ds
.It Pa $HOME/.ssh/identity