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

Vagrant cURL scp support on Mac OS X #30

Closed
mmorel10 opened this Issue Nov 20, 2013 · 5 comments

Comments

Projects
None yet
6 participants
@mmorel10
Copy link

mmorel10 commented Nov 20, 2013

I would like to use Vagrant to download a box via scp on Mac OS X.

Per this pull request, I thought the feature would be built in:
hashicorp/vagrant#1041

Unfortunately, the embedded cURL within the Vagrant package does not support scp. I believe this can be resolved by building libssh2, and adding it as a dependency to cURL.

@gsaslis

This comment has been minimized.

Copy link

gsaslis commented Feb 26, 2015

on OSX, i think the problem is the fact that libcurl ships without support for scp built-in. You can easily tell by running

curl --version

which should display a list of the supported protocols. On OSX 10.10 (at least), scp is not on that list.

The solution is to install a second version of curl - I originally found it on here:
http://chase-seibert.github.io/blog/2014/05/18/vagrant-authenticated-private-box-urls.html

Hope this helps...

@ccope

This comment has been minimized.

Copy link

ccope commented Jul 1, 2015

The linux builds are also lacking scp/sftp support in curl. I think that curl needs to link against libssh2?

@sethvargo

This comment has been minimized.

Copy link
Contributor

sethvargo commented Jul 9, 2015

Hi there,

Thank you for opening an issue. We now ship our own embedded curl, even on OSX.

@sethvargo sethvargo closed this Jul 9, 2015

@ccope

This comment has been minimized.

Copy link

ccope commented Jul 10, 2015

@sethvargo The embedded curl isn't built against libssh2, so it doesn't have scp/sftp support.

@mitchellh mitchellh reopened this Jul 10, 2015

@chrisroberts

This comment has been minimized.

Copy link
Member

chrisroberts commented Jun 21, 2017

Hi there,

It looks like this has been resolved within a previous update so I am now closing this issue. If the original issue was not fully resolved, please reopen this issue or create a new one.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment