croski.blogg.se

Git sourcetree shell administrator
Git sourcetree shell administrator








git sourcetree shell administrator git sourcetree shell administrator
  1. #Git sourcetree shell administrator how to
  2. #Git sourcetree shell administrator windows

Please make sure pageant is launched and your SSH private key is loaded. If you are asked to key in password, this is incorrect. Please choose “Never” in “Close window on exit” for debug purpose

  • Key in IP_ADDR in “Host Name”, where git is the user name of ssh server and IP_ADDR is the IP address of SSH server.
  • These information could be found when you generate the key described above. From left to right are key type, Number of bits in a generated key, key fingerprint, key comment. You could also choose “view keys”, and you will see the following information.

    #Git sourcetree shell administrator windows

    If you need to load more keys, go to windows system tray and right-click mouse, choose “add key”, select the *.ppk file and key in the passphrase. After you key in passphrase, the private key is decrypted and stay in memory of your local machine. Remember, the SSH private key is encrypted by the passphrase. Please click “yes”, select the *.ppk file and key in the passphrase. If purplearrow is the right person, you need to $ sudo -H -u git gitosis-init “Launch SSH agent” When you initialize the Gitosis, you need the public key of the user who has read/write permission to the repository: gitosis-admin. $ cat /tmp/id_ > /home/git/.ssh/authorized_keys 2.2 Initialize Gitosis You need to append the id_ to the file: /home/ git/.ssh/authorized_keys. In other words, other users will login as “git” using SSH protocol. 2.1 Fundamental methodĪssuming you create the user “git” to initialize the repository. There is only one line in your public key, and let’s name the file as id_.Īssuming you are the GIT administrator, there are three scenario to put the public key to GIT server. Copy the string “ssh-rsa AAAAB3…” to another file and send this file to the GIT administrator. You could find the public key in the dialog above. You need to put the public key on GIT server, and the GIT server will consider the user who has the corresponding private key as a authorized user. Actually, you need to save the public key to GIT server. This is why I strongly suggest you to encrypt this file via a passphrase. As long as you login on GIT server using SSH protocol, you need that file to convince the server whom you are. You need to store your private key in your local machine. Click “Save private key” to save as *.ppk.You can modify “Key comment” to increase readability.After key generation, it is highly recommended to key in “Key passphrase” and “Confirm passphrase”.You will be asked to move your mouse across the blank region. Click “Generate” to generate public/private key pair.Select SSH-2 RSA, and “Number of bits in a generated key” is 1024 or 2048.I will open a dialog named as “PuTTY Key Generator” In order to access a GIT repository, you need

    #Git sourcetree shell administrator how to

    In this post, I will show you how to clone GIT repository using SourceTree on windows platform. I am looking for a windows GUI to browse GIT repository and submit codes.










    Git sourcetree shell administrator