summaryrefslogtreecommitdiffstats
path: root/src/site/setup_transport_ssh.mkd
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-03-28 19:44:48 -0400
committerJames Moger <james.moger@gitblit.com>2014-04-10 19:00:52 -0400
commita9dc74e73eea068b8cbb5c96958abccae88b4abc (patch)
treecf9834c7b98cc8b284c64fb49ad3f97657de9e5f /src/site/setup_transport_ssh.mkd
parentcd45b5fe5ae88c1d526211e67068ce7b2a066d70 (diff)
downloadgitblit-a9dc74e73eea068b8cbb5c96958abccae88b4abc.tar.gz
gitblit-a9dc74e73eea068b8cbb5c96958abccae88b4abc.zip
Implement management commands in repositories dispatcher
Diffstat (limited to 'src/site/setup_transport_ssh.mkd')
-rw-r--r--src/site/setup_transport_ssh.mkd6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/site/setup_transport_ssh.mkd b/src/site/setup_transport_ssh.mkd
index 5bac2ff4..0f09910e 100644
--- a/src/site/setup_transport_ssh.mkd
+++ b/src/site/setup_transport_ssh.mkd
@@ -23,8 +23,8 @@ First you'll need to create an SSH key pair, if you don't already have one or if
Then you can upload your *public* key right from the command-line.
- cat ~/.ssh/id_rsa.pub | ssh -l <username> -p 29418 <hostname> gitblit keys add -
- cat c:\<userfolder>\.ssh\id_rsa.pub | ssh -l <username> -p 29418 <hostname> gitblit keys add -
+ cat ~/.ssh/id_rsa.pub | ssh -l <username> -p 29418 <hostname> gitblit keys add
+ cat c:\<userfolder>\.ssh\id_rsa.pub | ssh -l <username> -p 29418 <hostname> gitblit keys add
**NOTE:** It is important to note that *ssh-keygen* generates a public/private keypair (e.g. id_rsa and id_rsa.pub). You want to upload the *public* key, which is denoted by the *.pub* file extension.
@@ -62,7 +62,7 @@ The *gitblit* command has many subcommands for interacting with Gitblit.
Add an SSH public key to your account. This command accepts a public key piped to stdin.
- cat ~/.ssh/id_rsa.pub | ssh -l <username> -p 29418 <hostname> gitblit keys add -
+ cat ~/.ssh/id_rsa.pub | ssh -l <username> -p 29418 <hostname> gitblit keys add
##### keys list