From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 12 Mar 2003 21:21:38 +0300 From: "Dmitry V. Levin" To: ALT Linux general discussion list Subject: Re: [Comm] ssh-add can't connect to ssh-agent Message-ID: <20030312182138.GD31663@basalt.office.altlinux.org> References: <20030312111949.GB11150@ifirst.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pQhZXvAqiZgbeUkD" Content-Disposition: inline In-Reply-To: <20030312111949.GB11150@ifirst.ru> X-fingerprint: 9658 398D 181B 1200 8FC5 26B8 F6F8 846B C1E2 3429 Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --pQhZXvAqiZgbeUkD Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Wed, Mar 12, 2003 at 02:19:49PM +0300, Artem K. Jouravsky wrote: > В Мастере 2.2 не работает проверенная уже связка ssh-agent + ssh-add, > что довольно неудобно, у меня парли на ключи чуть ли не длиннее паролей > на сами удалённые машины :) Что-то у вас не так в "проверенной" связке. Цитирую ssh-agent(1): "There are two main ways to get an agent setup: Either the agent starts a new subcommand into which some environment variables are exported, or the agent prints the needed shell commands (either sh(1) or csh(1) syntax can be generated) which can be evalled in the calling shell. Later ssh(1) looks at these variables and uses them to establish a connection to the agent." Короче, eval ssh-agent См. тж. /etc/X11/profile.d/ssh-agent.sh -- ldv --pQhZXvAqiZgbeUkD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+b3qy9viEa8HiNCkRAn2vAJ4y9CTUxwL4NfXp+NM4n3nQIZmcDQCgg9xZ Ac7C0D+v8WflKLHKL0bVZiE= =K7FN -----END PGP SIGNATURE----- --pQhZXvAqiZgbeUkD--