Re: Add two RSA keys to ssh-agent
- In reply to: Alexey Vyskubov : "Re: Add two RSA keys to ssh-agent"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Jul 2024 11:55:44 UTC
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.