我正在尝试在 OSX 中获得对 curl 的 SFTP 支持。我通过安装了curl
$ brew install curl --with-ssh
我还通过以下方式将自制版本符号链接到 /usr/bin
$ sudo ln -s /usr/local/bin/curl /usr/bin/curl
但我仍然得到
curl: (1) Protocol sftp not supported or disabled in libcurl
使用时
$ curl sftp://some.host.com/path/to/file
我的努力与很棒的 git-ftp 的一个问题有关https://github.com/resmo/git-ftp/issues/146
我究竟做错了什么?