LoginSignup
1
0

More than 1 year has passed since last update.

M1 macでAWS session managerを使っていてunknown error number 86というエラーが出たら

Last updated at Posted at 2022-06-21

TLDR

  • xcodeをインストール、または最新にアップデートしましょう。

概要

AWS SSOを使ってEC2にsshしていたのですが突然 ssh_exchange_identification: Connection closed by remote hostというエラーが出て接続できなくなってしまいました。

一見sshコマンドでエラーが出ていたのでssh関連かな?と~/.ssh/config やpermission周りを疑っていたのですが session-manager-plugin コマンドを入力すると exec: Failed to execute process '/usr/local/sessionmanagerplugin/bin/session-manager-plugin', unknown error number 86 というエラーが出るようになっていることに気づきました。

少しネットで調べてみるとsession-manager-pluginのissueに

After running the following command, session-manager-plugin works:
softwareupdate --install-rosetta --agree-to-license

のように書いてあったのでXcodeをアップデートしたら無事なおりました。
この手のエラーは地味ハマりますね。。

1
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
1
0