SSH 公開鍵の生成
提供: dsk's note
2016年2月3日 (水) 10:51時点におけるDsk (トーク | 投稿記録)による版 (ページの作成:「<syntaxhighlight lang="bash"> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/username/.ssh/id_rsa): /Users/username...」)
ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/username/.ssh/id_rsa): /Users/username/.ssh/id_rsa already exists. Overwrite (y/n)? Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/username/.ssh/id_rsa. Your public key has been saved in /Users/username/.ssh/id_rsa.pub. ---- ssh-rsa AAAAB3〜〜〜〜〜〜〜〜〜/ username@mac.local