ssh
ssh の鍵はどこに保存するべきか?
PGP and SSH keys on a Yubikey NEO « Eric Severance
Permissions of private key
Best practice to guard against an app copying private ssh keys stored under ~/.ssh? - Information Security Stack Exchange
What is an SSH Key? An Overview of SSH Keys
About SSH - GitHub Docs
Tailscale
クライアント側鍵生成
SSH keys - ArchWiki
サーバー設定
OpenSSH - ArchWiki
$ ssh-keygen -t ed25519 -f ~/.ssh/<file name>
$ ssh-copy-id -i ~/.ssh/<file name>.pub -p <port> username@remote-server.org
ssh server 側で password login を許可しておく必要がある
On mac we can use keychain as password store
Generating a new SSH key and adding it to the ssh-agent - GitHub Docs
暗号化していない鍵をパスフレーズで保護するには
$ ssh-keygen -p -f path/to/key
鍵のパーミッションを厳しくする
$ chomod 600
ssh-agent
新しい SSH キーを生成して ssh-agent に追加する - GitHub Docs
SSH パスフレーズ 省略したい!~ config 設定するか Keychain 登録自動化するか ~
Mac OS X以降のssh-agent事情 #SSH - Qiita
タイムアウトを防ぐには
ServerAliveInterval や ServerAliveCountMax が使える
tcp が通る環境であれば、TCPKeepAliveもある
Key managing at organization
Managing SSH Access at Scale with HashiCorp Vault