From 356a0b004aad93ec570b134664522a3a925ba556 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 8 Nov 1999 15:30:59 +1100 Subject: 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 : - 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 --- ssh-agent.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ssh-agent.1') diff --git a/ssh-agent.1 b/ssh-agent.1 index 8b9504fa5..3fef3a479 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 -- cgit v1.2.3