diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-22 14:00:52 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-22 14:00:52 +0200 |
commit | d3c9752122b5e637249be26f613e7e00b488d596 (patch) | |
tree | 9a9805d9df4ac31bf166a1505566097b638a85d1 /using-git.texinfo | |
parent | m (diff) | |
download | using-git-d3c9752122b5e637249be26f613e7e00b488d596.tar.gz using-git-d3c9752122b5e637249be26f613e7e00b488d596.tar.bz2 using-git-d3c9752122b5e637249be26f613e7e00b488d596.tar.xz |
generateing your key
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'using-git.texinfo')
-rw-r--r-- | using-git.texinfo | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/using-git.texinfo b/using-git.texinfo index 2a5594c..b20677a 100644 --- a/using-git.texinfo +++ b/using-git.texinfo @@ -68,6 +68,7 @@ Texts. A copy of the license is included in the section entitled * Create a repository:: * Create an origin:: * Gratis hosting:: +* Generate your key:: @end menu @@ -222,6 +223,33 @@ Free Software, but not gratis. +@node Generate your key +@section Generate your key + +Many Git servers authenticate using public +SSH keys. If you do not already have SSH +installed, install it, it is probably named +@code{openssh} in your GNU/Linux distributions' +package repository. + +Before create an SSH key, check if you already +have one. You are looking for a pair of +@file{id_rsa.pub} and @file{id_rsa}, in +@file{~/.ssh}. @file{id_rsa} is your private +key and should not be shared or made public. +@file{id_rsa.pub} is you public key and is +the file you want to upload you your Git +hosting server. + +If you do not already have a key, you can +create it with: + +@example +ssh-keygen -t rsa -C 'YOUR_EMAIL_ADDRESS' +@end example + + + @node Introduction @chapter Introduction |