# Windows 10 remote build on mac failed due to private key permission

**URL:** <https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS\
**Created:** [September 17, 2017, 9:49pm UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037 "2017-09-17T21:49:06Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 17, 2017, 9:49pm UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/1 "2017-09-17T21:49:06Z")

</div>

Hi Guys,

i’m looking for solution on this problem:

```auto

 

  1. LogPlayLevel: UnrealBuildTool: Compiling with iPhoneOS SDK 10.3 on Mac 192.168.1.xx
  1. LogPlayLevel: UnrealBuildTool: Warning: Identity file /cygdrive/C/Users/myUser/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.1.xx/myUser/RemoteToolChainPrivate.key not accessible: No such file or directory.
  1. LogPlayLevel: UnrealBuildTool: Permission denied, please try again.
  1. LogPlayLevel: UnrealBuildTool: Permission denied, please try again.

 

```

> **[Remote build cygwin permission denied on windows 10](https://forums.unrealengine.com/questions/707368/remote-build-cygwin-permission-denied-on-windows-1.html)**
>
> Hey Guys, I’m trying a remote build from windows to my mac but i’m getting this weird problem. LogPlayLevel: UnrealBuildTool: Compiling with iPhoneOS SDK 10.3 on Mac 192.168.1.xx LogPlayLevel: UnrealBuildTool: Warning: Identity file...

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 19, 2017, 7:09pm UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/2 "2017-09-19T19:09:25Z")

</div>

looking for solution anyone?

---

<div class="post-metadata">

**Author:** ![3DStephen1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DStephen1](https://forums.unrealengine.com/u/3DStephen1)\
**Post date:** [September 19, 2017, 11:34pm UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/3 "2017-09-19T23:34:35Z")

</div>

First things first. Did you generate the SSH key? And it completed successfully with no errors? Is that key file actually there?

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 20, 2017, 7:42am UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/4 "2017-09-20T07:42:54Z")

</div>

> [@3DStephen1](#):
>
> First things first. Did you generate the SSH key? And it completed successfully with no errors? Is that key file actually there?

yes the key is in place, generation is without problem. if i leave as it is with default permissions when i try to to iOS from engine i get warning your private key is accessible by other with some permissions like 0660 0440 bla bla… when i modify permissions i pass that problem and hit on this one… i tried with putty to connect to he remote iOS and it’s working so it’s something with permissions to the private key, engine and Windows 10 up-to-date with everything.

---

<div class="post-metadata">

**Author:** ![3DStephen1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DStephen1](https://forums.unrealengine.com/u/3DStephen1)\
**Post date:** [September 20, 2017, 6:31pm UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/5 "2017-09-20T18:31:58Z")

</div>

I’ve had other errors but not this one. Not sure what to do except make sure you’re an administrator and run Unreal as administrator while you generate the key? Check firewall settings?

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 20, 2017, 9:02pm UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/6 "2017-09-20T21:02:10Z")

</div>

> [@3DStephen1](#):
>
> I’ve had other errors but not this one. Not sure what to do except make sure you’re an administrator and run Unreal as administrator while you generate the key? Check firewall settings?

tried running engine as admin before and after generating the private key…

look at the permissions

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 23, 2017, 11:28am UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/7 "2017-09-23T11:28:56Z")

</div>

bumping… epic devs anyone help?

---

<div class="post-metadata">

**Author:** ![3DStephen1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DStephen1](https://forums.unrealengine.com/u/3DStephen1)\
**Post date:** [September 27, 2017, 7:31pm UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/8 "2017-09-27T19:31:53Z")

</div>

4.18 Changelog says that they supposedly made the remote build process easier. Fingers crossed for you.

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 27, 2017, 7:54pm UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/9 "2017-09-27T19:54:27Z")

</div>

> [@3DStephen1](#):
>
> 4.18 Changelog says that they supposedly made the remote build process easier. Fingers crossed for you.

tried preview one no help… will give a try on second preview.

---

<div class="post-metadata">

**Author:** ![solodev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/solodev/32/622891_2.png) [@solodev](https://forums.unrealengine.com/u/solodev)\
**Post date:** [October 3, 2017, 7:45am UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/10 "2017-10-03T07:45:05Z")

</div>

Delete .ssh folder on your machine and run generation again from the engine.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1cbc21f5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1cbc21f5](https://forums.unrealengine.com/u/anonymous_user_1cbc21f5)\
**Post date:** [December 13, 2017, 11:35am UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/11 "2017-12-13T11:35:33Z")

</div>

The is how I solved the problem, I’ve already posted an answer in another post, I hope it helps you if you are having the same issues:

> **[Chmodding RemoteToolChainPrivate.key for iOS remote builds](https://forums.unrealengine.com/questions/715773/chmodding-remotetoolchainprivatekey-for-ios-remote.html)**
>
> I am encountering an error when trying to use the iOS remote build feature. I believe I have everything setup correctly EXCEPT the permissions on the private key that Unreal generated. Here is the error: @ WARNING: UNPROTECTED PRIVATE KEY...

---

<div class="post-metadata">

**Author:** ![andrei\_oo9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@andrei\_oo9](https://forums.unrealengine.com/u/andrei_oo9)\
**Post date:** [August 4, 2021, 9:50am UTC](https://forums.unrealengine.com/t/windows-10-remote-build-on-mac-failed-due-to-private-key-permission/100037/12 "2021-08-04T09:50:27Z")

</div>

I solved this by copy the key in a path with no spaces like C:\Keys and set the “Override existing SSH permissions files” from remote build options to that path
