keychain is a simple script to simplify using ssh-agent under some

circumstance.

Port by Nikolai Sturm, trivially updated for keychain 1.9
This commit is contained in:
espie 2002-03-07 17:37:38 +00:00
parent b426272d44
commit b4fa22df2d
6 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/03/07 17:37:38 espie Exp $
COMMENT= "front-end to ssh-agent"
DISTNAME= keychain-1.9
CATEGORIES= security
NEED_VERSION= 1.504
HOMEPAGE= http://www.gentoo.org/projects/keychain/
MAINTAINER= Nikolay Sturm <nikolay.sturm@desy.de>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.ibiblio.org/gentoo/distfiles/
EXTRACT_SUFX= .tar.bz2
NO_BUILD= Yes
NO_REGRESS= Yes
do-install:
${INSTALL_SCRIPT} ${WRKDIST}/keychain ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (keychain-1.9.tar.bz2) = 10b68284f73f76dcdaa43c62b3acde19
RMD160 (keychain-1.9.tar.bz2) = db70da935c95ca32ad8249ad23e6e5b99e6cd4f2
SHA1 (keychain-1.9.tar.bz2) = d5d85fa8f7ab573ff99114ddad1927d6db1f4636

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-keychain,v 1.1.1.1 2002/03/07 17:37:38 espie Exp $
--- keychain.orig Wed Feb 6 14:04:15 2002
+++ keychain Wed Feb 6 14:10:02 2002
@@ -122,7 +122,7 @@ cat <<EOHELP
Description:
- Keychain is an OpenSSH key manager, typically run from ~/.bash_profile. When
+ Keychain is an OpenSSH key manager, typically run from ~/.profile. When
run, it will make sure ssh-agent is running; if not, it will start ssh-agent.
It will redirect ssh-agent's output to ~/.ssh-agent-[hostname], so that cron
jobs that need to use ssh-agent keys can simply source this file and make the
@@ -133,7 +133,7 @@ Description:
added by keychain.
Typically, one uses keychain by adding the following to the top of their
- ~/.bash_profile (or ~/.zlogin, in case of zsh):
+ ~/.profile (or ~/.zlogin, in case of zsh):
EOHELP
echo $E " ${CYAN}keychain ~/.ssh/id_rsa ~/.ssh/id_dsa"
@@ -171,7 +171,7 @@ echo $E " ${GREEN}--clear${OFF}"
echo
cat <<EOHELP
Tells keychain to delete all of ssh-agent's host keys. Typically, This is
- used in the ~/.bash_profile. The theory behind this is that keychain should
+ used in the ~/.profile. The theory behind this is that keychain should
assume that you are an intruder until proven otherwise. However, while this
option increases security, it still allows your cron jobs to use your ssh keys
when you're logged out.

View File

@ -0,0 +1,8 @@
The keychain shell script makes handling RSA and DSA keys both
convenient and secure. It acts as a front-end to ssh-agent, allowing
you to easily have one long-running ssh-agent process per system,
rather than per login session. This dramatically reduces the number
of times you need to enter your passphrase from once per new login
session to once every time your local machine is rebooted.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,9 @@
+---------------
| For instructions on how to configure keychain, please run
|
| keychain -h
|
| There is no man page for this program.
+---------------

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/03/07 17:37:38 espie Exp $
bin/keychain