telnetをインストールするのが面倒な時は
curl -v telnet://<ipアドレス>:<ポート番号>
# 疎通確認出来ればこんな感じで表示されます
Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 22 (#0)
# 失敗するとこんな感じで表示されます
Failed to connect to xxx.xxx.xxx.xxx port 22: Operation timed out
でOKです。
More than 5 years have passed since last update.
telnetをインストールするのが面倒な時は
curl -v telnet://<ipアドレス>:<ポート番号>
# 疎通確認出来ればこんな感じで表示されます
Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 22 (#0)
# 失敗するとこんな感じで表示されます
Failed to connect to xxx.xxx.xxx.xxx port 22: Operation timed out
でOKです。
Register as a new user and use Qiita more conveniently