Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2024 13:55:44 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        questions@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Add two RSA keys to ssh-agent
Message-ID:  <ZqTgQF83a7OhoLfu@c720-1400094>
In-Reply-To: <PAVPR08MB95068701CE5C6755856C80C2ADB52@PAVPR08MB9506.eurprd08.prod.outlook.com>
References:  <ZqSm8K4rkgAb2HGk@c720-1400094> <PAVPR08MB95068701CE5C6755856C80C2ADB52@PAVPR08MB9506.eurprd08.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día sábado, julio 27, 2024 a las 02:34:58p. m. +0300, Alexey Vyskubov escribió:

> On Sat, Jul 27, 2024 at 09:51:12AM UTC, Matthias Apitz wrote:
> > Is there a way to ask only once and use the same passphrase for both
> > ssh-add calls?
> 
> Try ssh-add <key file 1> <key file 2> (as one command).

$ ssh-add ~/.ssh/id_rsa ~/.ssh/4kid_rsa
Enter passphrase for /home/guru/.ssh/id_rsa:
Identity added: /home/guru/.ssh/id_rsa (/home/guru/.ssh/id_rsa)
Identity added: /home/guru/.ssh/4kid_rsa (guru@c720-1400094)

Thanks, this helped.

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZqTgQF83a7OhoLfu>