[git-help] clone asks for passphrase for every library
Hello, I'm trying out git + modular boost for the first time. When I try to clone the repository as described here [1], I run into a problem where the recursive clone process asks me for my SSH key's passphrase for every submodule (library) that it is checking out. Is there a way to avoid this? Thanks, Nate [1] https://svn.boost.org/trac/boost/wiki/TryModBoost
On 30.12.2013 09:37, Nathan Ridge wrote:
Hello,
I'm trying out git + modular boost for the first time.
When I try to clone the repository as described here [1], I run into a problem where the recursive clone process asks me for my SSH key's passphrase for every submodule (library) that it is checking out.
Is there a way to avoid this?
Nathan, On modern Linux versions will automatically cache a passphrase. If this is not happening, check your distribution docs about automatically starting ssh-agent. On Windows, you need to either start key agent beforehand, or somehow add it to autostart. The putty suite has the agent called 'pageant'. - Volodya
El 30/12/2013 6:37, Nathan Ridge escribió:
I'm trying out git + modular boost for the first time.
When I try to clone the repository as described here [1], I run into a problem where the recursive clone process asks me for my SSH key's passphrase for every submodule (library) that it is checking out.
Is there a way to avoid this?
In windows I tried this https://help.github.com/articles/working-with-ssh-key-passphrases with success to use the command line version. And I used Puttygen (installed by TortoiseGit) to transform the OpenSSH private key to a Putty-friendly ppk file. Then I use Pageant (installed also by TortoiseGit) to type the passphrase once when using TortoiseGit. The same page contains instructions for Mac and I think you can easily deduce the steps for other Unix systems Best, Ion
On Mon, Dec 30, 2013 at 3:12 AM, Ion Gaztañaga
El 30/12/2013 6:37, Nathan Ridge escribió:
I'm trying out git + modular boost for the first time.
When I try to clone the repository as described here [1], I run into a problem where the recursive clone process asks me for my SSH key's passphrase for every submodule (library) that it is checking out.
Is there a way to avoid this?
In windows I tried this
https://help.github.com/articles/working-with-ssh-key-passphrases
with success to use the command line version. And I used Puttygen (installed by TortoiseGit) to transform the OpenSSH private key to a Putty-friendly ppk file. Then I use Pageant (installed also by TortoiseGit) to type the passphrase once when using TortoiseGit.
For TortoiseGit, I don't use Putty and Pageant. Instead, on the TortoiseGit | Settings | Network dialog, I specify C:\Program Files (x86)\Git\bin\ssh.exe for the SSH client. Seems easier. --Beman
participants (4)
-
Beman Dawes
-
Ion Gaztañaga
-
Nathan Ridge
-
Vladimir Prus