From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=DATE_IN_PAST_06_12, DMARC_MISSING,INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from ws2.piuha.net ([195.165.196.2]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15gj8X-00043D-00 for gentoo-dev@gentoo.org; Tue, 11 Sep 2001 02:43:18 -0600 Received: from ws4.piuha.net (ws4.piuha.net [195.165.196.4]) by ws2.piuha.net (Postfix) with ESMTP id 595F16A904 for ; Tue, 11 Sep 2001 11:42:47 +0300 (EEST) From: Martti Kuparinen X-X-Sender: To: Message-ID: <20010911112953.Y59718-100000@ws4.piuha.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [gentoo-dev] two keychain change requests Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Tue Sep 11 02:44:01 2001 X-Original-Date: Tue, 11 Sep 2001 11:42:47 +0300 (EEST) X-Archives-Salt: b9778921-b1a9-4f7e-b1fc-ec4a2474e8af X-Archives-Hash: b8c0b01db36efc2aaa9128c767a0c895 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 NetBSD - No media hype http://www.iki.fi/~kuparine/ http://www.netbsd.org/