LoginSignup
4

More than 5 years have passed since last update.

Cloud Shellを使いまくると死ぬ

Posted at

Your session was detached because it was attached in another browser tab. Since you have tmux enabled, your session context will be transfered between tabs, but can only be open in one browser tab at a time. To disable tmux, select the "Tmux Settings" option from the Cloud Shell settings menu.

ファッ!?

GCPを使ってる皆さん、Cloud Shellという超絶便利機能を活用していると思われますが、タイトルの通り以下のようなことをしてるとCloud Shellが使えなくなるので注意しましょう、という話
まあ使えなくなるというか、おお?ってなるだけなんだけど

  1. 複数ブラウザで同一アカウントのCloud Shellを開く
  2. MAX4タブ以上開いてる状態になるとヤバイ
    • 4タブ開いた状態で別ブラウザでCloud Shell開くと起きます
  3. Reconnectすると生きてる方のセッションを奪って横取りできる

あんまりやらないと思うけど、これ別の人が同一アカウント共有して使ってるとセッション横取りされてビビるんじゃないかな…
一人で使う分には起きないでしょう。たぶん。

ちなみに…

ちょっと前はreconnectがなくてしばらくしてからアクセスしてね、って言われてました。
またそのうち変わるかもしれませんね。

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
4