SSHの秘密鍵のパスフレーズを変更する

毎回忘れてるのでメモ。
mykeyfileという名前の秘密鍵ファイルのパスフレーズを変更する場合。
ssh-keygenコマンドの"-f" オプションでファイルを指定、"-p" オプションでパスフレーズを変更する。

$ ssh-keygen -f mykeyfile -p
Enter old passphrase:
Key has comment 'mykeyfile'
Enter new passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved with the new passphrase.