0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UE4 Unprotected Private Key エラーの対応方法

Posted at

UE4の公式文書では↓

Unprotected Private Key エラーの対応方法
以下のようなエラーが出る場合があります。

ERROR:Unable to determine home directory for remote user.SSH output:...WARNING:UNPROTECTED PRIVATE KEY FILE!...0660
このエラーが出ない場合は、次の手順へ進むことができます。このエラーが出た場合は、以下の手順で解決します。

Microsoft から SubInACL command line tool をダウンロードします。

[Command Prompt (コマンド プロンプト)] タスク バー アイテムを右クリックして [Run as Administrator (管理者として実行)] を選んで Administrator Command プロンプトを開きます。

以下のコマンドを実行します。

SubInACL /File "C:\Users\MyUserName\AppData\Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/10.1.1.1/remoteusername/RemoteToolChainPrivate.key" /setprimarygroup=Users

パスを自分の鍵に変更してこのコマンドを実行します。こうすることで、グループ権限の確認時に SSH が問題としていた、ファイルのプライマリ グループが自分のユーザー名とは異なるものに変更されます。この後プロセスは正常になります。

SubInACLがマイクロソフトから消えてる!

ここ
にアップロードしたので解凍して利用してください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?