Skip to content

Instantly share code, notes, and snippets.

@inakadegaebal
Created November 23, 2015 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inakadegaebal/ea815a3da0cb95d2652a to your computer and use it in GitHub Desktop.
Save inakadegaebal/ea815a3da0cb95d2652a to your computer and use it in GitHub Desktop.
GitHubに公開鍵を登録する ref: http://qiita.com/inakadegaebal/items/6dbd96521926cc8df48f
$ 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:
$ 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':#パスワードを入力#
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