Difference between revisions of "Accessing DAVE Embedded Systems restricted git repositories"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 1: Line 1:
 
__FORCETOC__
 
__FORCETOC__
 
==Introduction==
 
==Introduction==
Generally speaking, source code maintained by DAVE Embedded Systems is delivered to customers via restricted-access [[https://git-scm.com/|git]] repositories. To access these repositories a public key is required, as described in the following section.
+
Generally speaking, source code maintained by DAVE Embedded Systems is delivered to customers via restricted-access [https://git-scm.com git] repositories. To access these repositories a public key is required, as described in the following section.
  
 
=== RSA key generation ===
 
=== RSA key generation ===
Please follow the following procedure to generate the RSA ssh key. It is assumed that the host machine is Linux-based (such as [[Category:DVDK|DVDKs]] and [[Managed_Virtual_Machine_(MVM)|MVMs]].
+
Please follow this procedure to generate the RSA ssh key. It is assumed that the host machine is Linux-based (such as [[Category:DVDK|DVDKs]] and [[Managed_Virtual_Machine_(MVM)|MVMs]].
  
 
* select your username (ad es. username@myhost.com)
 
* select your username (ad es. username@myhost.com)
Line 23: Line 23:
 
</pre>
 
</pre>
  
Please send the request for the creation of a new public git account associated to your username, to the following support email address: [mailto:support@dave.eu support@dave.eu]. Please indicate in the subject the name of the product and/or the development kit. The technical support team will enable the account and send you a confirmation as soon as possible.
+
 
 +
* Send the request for the creation of a new public git account associated to your username, to the following support email address: [mailto:support@dave.eu support@dave.eu]. Please indicate in the subject the name of the product and/or the development kit. The technical support team will enable the account and send you a confirmation as soon as possible.

Revision as of 14:27, 1 April 2016

Introduction[edit | edit source]

Generally speaking, source code maintained by DAVE Embedded Systems is delivered to customers via restricted-access git repositories. To access these repositories a public key is required, as described in the following section.

RSA key generation[edit | edit source]

Please follow this procedure to generate the RSA ssh key. It is assumed that the host machine is Linux-based (such as and MVMs.

  • select your username (ad es. username@myhost.com)
  • start the host machine and log in into it
  • start a shell session
  • enter the .ssh subdirectory into your home directory: cd ~/.ssh/
  • launch the following command:
ssh-keygen -t rsa -C "username@myhost.com" -f username@myhost.com
  • this command creates the files ~/.ssh/username@myhost.com (private key) and ~/.ssh/username@myhost.com.pub (public key)
  • edit your ~/.ssh/config by adding the following lines:
Host git.dave.eu
    User git
    Hostname git.dave.eu
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/username@myhost.com


  • Send the request for the creation of a new public git account associated to your username, to the following support email address: support@dave.eu. Please indicate in the subject the name of the product and/or the development kit. The technical support team will enable the account and send you a confirmation as soon as possible.