aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-22 14:00:52 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-22 14:00:52 +0200
commitd3c9752122b5e637249be26f613e7e00b488d596 (patch)
tree9a9805d9df4ac31bf166a1505566097b638a85d1
parentm (diff)
downloadusing-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 '')
-rw-r--r--using-git.texinfo28
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