public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] two keychain change requests
@ 2001-09-11  2:44 Martti Kuparinen
  0 siblings, 0 replies; only message in thread
From: Martti Kuparinen @ 2001-09-11  2:44 UTC (permalink / raw
  To: gentoo-dev

Hi!

I noticed that adding "keychain ~/.ssh/id_dsa" into .bash_login
caused problems if your home directory is NFS mounted and you
login to some other host. The other host detects that there is
a .ssh-agent file but the PID doesn't match which then caused the
original file to be overwritten.

Here's an untested change request using the vi notation:

:%s+\.ssh-agent+.ssh-agent-`hostname`+g

And another change-request: /bin/sh (which is not same as /bin/bash)
does NOT support the source keyword, it's bash'ism. The solution is to
use ". filename":

:%s+source +. +g

Martti

---
Martti Kuparinen <martti.kuparinen@iki.fi>              NetBSD - No media hype
http://www.iki.fi/~kuparine/                            http://www.netbsd.org/




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-11  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-11  2:44 [gentoo-dev] two keychain change requests Martti Kuparinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox