Skip to content

Instantly share code, notes, and snippets.

View hideokamoto's full-sized avatar

Hidetaka Okamoto hideokamoto

View GitHub Profile
@j3tm0t0
j3tm0t0 / ec2ssherror.md
Last active September 30, 2021 07:40
EC2にsshでログインできなくなった場合の対処法

EC2にsshでログインできなくなった場合の対処法


##Connection Timeout または No route to host ###ヘルスチェックステータス1/2 OSレベルでの問題が起きています。
→ インスタンスをRebootしてみましょう。 ###ヘルスチェックステータスが0/2 物理ホスト障害の可能性があります。
→ インスタンスをStop/Startしてみましょう(別の物理ホストに移動させる事ができます)
※ Stoppingの状態で停止しない場合には、force stopを行います(Management Consoleから2回目のstop/ec2-stop-instances --force i-xxxxxxxx)

@wokamoto
wokamoto / just.php
Last active October 9, 2015 05:28
特定のプラグインを有効にするプラグイン
<?php
/*
Plugin Name: Just do it !
Plugin URI:
Description:
Version: 0.1
Author:
Author URI:
*/
new just_do_it();