ちなみに

火曜日の空は僕を押しつぶした。

SSH公開鍵の作成とパスワードの変更

メモ

公開鍵の作成

$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/[name]/.ssh/id_rsa): <enter>
Enter passphrase (empty for no passphrase): <enter password>
Enter same passphrase again: <enter password again>
Your identification has been saved in /Users/[name]/.ssh/id_rsa.
Your public key has been saved in /Users/[name]/.ssh/id_rsa.pub.
The key fingerprint is:
[hex]:[hex]:... [name]@[host]

~/.ssh/id_rsa.pubに保存される。

パスワードの変更

$ ssh-keygen -p
Enter file in which the key is (/Users/[name]/.ssh/id_rsa): 
Enter old passphrase: 
Key has comment '/Users/[name]/.ssh/id_rsa'
Enter new passphrase (empty for no passphrase): 
Enter same passphrase again: