Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-561] Package manager doesn't use SSH keyagent #5325

Closed
Bouke opened this issue Jan 16, 2016 · 4 comments
Closed

[SR-561] Package manager doesn't use SSH keyagent #5325

Bouke opened this issue Jan 16, 2016 · 4 comments
Labels

Comments

@Bouke
Copy link
Contributor

Bouke commented Jan 16, 2016

Previous ID SR-561
Radar None
Original Reporter @Bouke
Type Bug
Status Closed
Resolution Done
Environment

OS X 10.11

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: aa2ef7aad1213b788c56c9fe72f16d45

Issue Description:

I would expect that swift build uses the SSH keyagent, so I don't have to provide the password for my keys;

> swift build
Cloning ssh://git@(...)
Enter passphrase for key '(...)/.ssh/id_rsa': 

Whereas I run the git clone command myself from the terminal:

> /usr/local/bin/git clone --recursive --depth 10 ssh://git@(...) (...)
Cloning into '(...)'...
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 4 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (4/4), done.
Checking connectivity... done.
@mxcl
Copy link
Contributor

mxcl commented Jan 21, 2016

Do you happen to have an idea why we aren't? Is there some ENV variable that we are unsetting?

@ankitspd
Copy link
Member

looks like `SSH_AUTH_SOCK` is responsible, it starts working if that is set

@ankitspd
Copy link
Member

Raised a PR with fix #118

@mxcl
Copy link
Contributor

mxcl commented Feb 19, 2016

Merged. Please advise if it is not fixed. Thanks.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants