This repository was archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 445
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Permission denied (publickey) #1049
Copy link
Copy link
Closed
Labels
Description
Hello
I had GithubUnity to my project, I tried to push and got a permission denied error.
I tried to push with Git Bash (I'm on Windows) and that work well. I dig a log into Github documentation and didn't find anything.
I think the problem came from me because I'm new on Windows and I've surely made something wrong. But because I can push with cli, the doubt came to me and maybe it's an issue from you.
Hope you can find out what's the problem. :)
Logs
190510-21:50:54.578 TRACE [86] <ProcessWrapper> Running 'C:\Program Files\Git\cmd\git.exe push -u origin master:master'
190510-21:50:55.429 TRACE [88] <ProcessWrapper> ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
190510-21:50:55.444 TRACE [88] <ProcessWrapper> git@github.com: Permission denied (publickey).
190510-21:50:55.445 TRACE [88] <ProcessWrapper> fatal: Could not read from remote repository.
190510-21:50:55.446 TRACE [88] <ProcessWrapper>
190510-21:50:55.447 TRACE [88] <ProcessWrapper> Please make sure you have the correct access rights
190510-21:50:55.448 TRACE [88] <ProcessWrapper> and the repository exists.
190510-21:50:55.556 ERROR [93] <TaskManager> Exception on exclusive thread: 6 push -u origin master:master
GitHub.Unity.ProcessException: ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
at GitHub.Unity.ProcessTask`1+<>c__DisplayClass20_0[T].<RunWithReturn>b__1 () [0x00116] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:371
at GitHub.Unity.ProcessWrapper.Run () [0x003cd] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:199
at GitHub.Unity.ProcessTask`1[T].RunWithReturn (System.Boolean success) [0x00061] in C:\projects\unity\src\GitHub.Api\Tasks\ProcessTask.cs:380
at GitHub.Unity.TaskBase`1[TResult].RunSynchronously () [0x00049] in C:\projects\unity\src\GitHub.Api\Tasks\TaskBase.cs:685
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
=======
at GitHub.Unity.TaskManager+<>c__DisplayClass29_0`1[T].<ScheduleExclusive>b__0 (System.Threading.Tasks.Task tt) [0x00000] in C:\projects\unity\src\GitHub.Api\Tasks\TaskManager.cs:128
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at GitHub.Unity.ThreadPerTaskScheduler+<>c__DisplayClass4_0.<QueueTask>b__0 () [0x00000] in C:\projects\unity\src\GitHub.Api\Tasks\ConcurrentExclusiveInterleave.cs:440
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0