# iOS Remote Build ssh error

**URL:** <https://forums.unrealengine.com/t/ios-remote-build-ssh-error/225220>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS\
**Created:** [April 19, 2021, 12:25pm UTC](https://forums.unrealengine.com/t/ios-remote-build-ssh-error/225220 "2021-04-19T12:25:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monster1234](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Monster1234](https://forums.unrealengine.com/u/Monster1234)\
**Post date:** [April 19, 2021, 12:25pm UTC](https://forums.unrealengine.com/t/ios-remote-build-ssh-error/225220/1 "2021-04-19T12:25:13Z")

</div>

Hi there, I encountered this problem and didn’t find the right solution anywhere. Hope this helps you in the future.

Basically I had this error when I was generating ssh key for the remote build.  
ERROR: Failed to generate SSH private key for …

You will get this error if your remote ip address has been used before for generating ssh key. For example, I setup and deleted macOS VMs multiple times before. IP for last 2 instances happened to be same but the name was different. So windows thought there was something wrong and didnt proceed with generating ssh key.

Solution: Delete the IP entry for you new mac in C:\Users[Username].ssh\known-hosts

---

<div class="post-metadata">

**Author:** ![ecophobic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ecophobic/32/555678_2.png) [@ecophobic](https://forums.unrealengine.com/u/ecophobic)\
**Post date:** [August 3, 2022, 4:17am UTC](https://forums.unrealengine.com/t/ios-remote-build-ssh-error/225220/2 "2022-08-03T04:17:31Z")

</div>

hey thanks for this tip…

i still get error rsync error protocol data stream (code 12)  
failed to generate ssh private key

any tips?
