Skip to content

Instantly share code, notes, and snippets.

@edvakf
Last active April 28, 2016 01:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edvakf/6db1cacd9a772a22a1f2bc8794fcca90 to your computer and use it in GitHub Desktop.
Save edvakf/6db1cacd9a772a22a1f2bc8794fcca90 to your computer and use it in GitHub Desktop.
Host handson
User admin
Port 22
IdentityFile インスタンスを作るときにダウンロードしたpemファイル
HostName パブリックIPアドレス
ServerAliveInterval 300
@edvakf
Copy link
Author

edvakf commented Apr 27, 2016

~/.ssh/config に↑を書くと良い。

ServerAliveInterval 300 はSSHが切れるのを防ぐ設定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment