在OSX El Capitan上(我在git 2.3和git 2.7中得到了相同的结果)
我清理一切
Pkg.clone
然后我运行Julia0.5并使用Private key not found
该过程停止并询问"私钥位置"。
提供错误的位置会产生错误:
GitError(Code:ERROR, Class:SSH, Failed to authenticate SSH session: Callback returned error)
in macro expansion at ./libgit2/error.jl:99 [inlined]
in clone(::String, ::SubString{String}, ::Base.LibGit2.CloneOptions) at ./libgit2/repository.jl:191
in #clone#109(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractCredentials}, ::Function, ::String, ::SubString{String}) at ./libgit2/libgit2.jl:327
in clone(::String, ::SubString{String}) at ./pkg/entry.jl:195
in clone(::String) at ./pkg/entry.jl:221
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#clone,Tuple{String}})() at ./pkg/dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#clone,Tuple{String}}, ::String) at ./file.jl:59
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:31
in clone(::String) at ./pkg/pkg.jl:151
提供正确的位置会产生另一个错误:
Pkg.clone
然后我运行Julia0.4并使用request.setCharacterEncoding("UTF-8")
一切顺利,包装被克隆。
有没有人知道Julia0.5是否需要一些额外的ssh配置?