差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン | |||
| linux_コマンド:ssh [2016/05/06 13:33] – mumeiyamibito | linux_コマンド:ssh [不明な日付] (現在) – 削除 - 外部編集 (不明な日付) 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== SSH ====== | ||
| - | ===== 概要 ===== | ||
| - | * サーバにセキュアにアクセスするためのコマンド | ||
| - | |||
| - | ===== 使い方 ===== | ||
| - | < | ||
| - | * ホスト名は IP アドレスでも可 | ||
| - | * ユーザ名は省略すると、ローカルマシンで使っているものが使われる | ||
| - | |||
| - | ===== 設定 ===== | ||
| - | * ~/ | ||
| - | < | ||
| - | ServerAliveInterval 30 | ||
| - | |||
| - | Host sample1 | ||
| - | HostName xxx.xxx.xxx.xxx | ||
| - | User hoge | ||
| - | IdentityFile ~/ | ||
| - | Port 10123 | ||
| - | |||
| - | Host sample2 | ||
| - | HostName yyy.yyy.yyy.yyy | ||
| - | IdentitiesOnly yes | ||
| - | </ | ||
| - | * 設定項目 | ||
| - | * ServerAliveInterval **時間**: サーバとの接続が切れないように指定した秒数毎にアクセスする | ||
| - | * Host **sample1**: | ||
| - | * HostName **xxx.xxx.xxx.xxx**: | ||
| - | * User **hoge**: ユーザ名を指定 (この例だと hoge) | ||
| - | * IdentityFile **暗号鍵**: | ||
| - | * Port **ポート番号**: | ||
| - | * IdentitiesOnly **yes**: パスワードによるログインをする場合に必要 | ||
| - | |||
| - | ===== 設定 ===== | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | |||
| - | ===== 切断されて操作できない場合のTips ===== | ||
| - | * 強制切断: | ||
| - | * 強制停止: | ||
| - | * [[http:// | ||
| - | |||