Uploading your public key through the browser cat ~/.ssh/id_rsa.pub | ssh -l -p 29418 keys addĬat c:\\.ssh\id_rsa.pub | ssh -l -p 29418 keys add Then you can upload your public key right from the command-line. Uploading your public key from the command-line You want to upload the public key, which is denoted by the. NOTE: It is important to note that ssh-keygen generates a public/private keypair (e.g. If you are working on Windows you'll need to install Git for Windows.įirst you'll need to create an SSH key pair, if you don't already have one or if you want to generate a new, separate key. Setting up public key authentication is very simple. Public key authentication allows you to operate in a password-less workflow and to separate your web login credentials from your git credentials. git clone up your account to use public key authentication Gitblit will authenticate using username/password or public keys. Why was 29418 chosen? It's likely because it resembles the IANA port assigned to the git protocol (9418). Cloning & Pushingīy default, Gitblit serves the SSH transport on port 29418, which is the same as Gerrit. ![]() You may watch an Asciinema screencast of using the SSH transport and it's command infrastructure here. ![]() The Gerrit and Android projects have to be thanked for providing great base SSH code that Gitblit has integrated. Aside from offering a simple password-less, public key workflow the SSH transport also allows exposes a new approach to interacting with Gitblit: SSH commands. The SSH transport is a very exciting improvement to Gitblit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |