Created
November 23, 2015 07:08
-
-
Save inakadegaebal/ea815a3da0cb95d2652a to your computer and use it in GitHub Desktop.
GitHubに公開鍵を登録する ref: http://qiita.com/inakadegaebal/items/6dbd96521926cc8df48f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh-keygen -t rsa -C "#メールアドレス#" | |
Generating public/private rsa key pair. | |
Enter file in which to save the key (/c/Users/xxxx/.ssh/id_rsa):#Enterを押す# | |
Created directory '/c/Users/xxxx/.ssh'. | |
Enter passphrase (empty for no passphrase):#パスワードを入力# | |
Enter same passphrase again:#再度パスワードを入力# | |
Your identification has been saved in /c/Users/xxxx/.ssh/id_rsa. | |
Your public key has been saved in /c/Users/xxxx/.ssh/id_rsa.pub. | |
The key fingerprint is: | |
#フィンガープリント# inakadegaebal@gmail.com | |
The key's randomart image is: | |
略 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh -T git@github.com | |
The authenticity of host 'github.com (192.30.252.130)' can't be established. | |
RSA key fingerprint is #フィンガープリント#. | |
Are you sure you want to continue connecting (yes/no)? #yesを入力# | |
Warning: Permanently added 'github.com,192.30.252.130' (RSA) to the list of known hosts. | |
Enter passphrase for key '/c/Users/JEONG/.ssh/id_rsa':#パスワードを入力# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi inakadegaebal! You've successfully authenticated, but GitHub does not provide shell access. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment