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

From DAVE Developer's Wiki
Jump to: navigation, search
(RSA key generation)
(RSA key generation)
Line 10: Line 10:
 
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]]).
 
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 (which usually is your email like <code>name.surname@company.com</code> or something releated to your host es. <code>username@myhost.com</code>)
+
* select your username (e.g. <code>username@myhost.com</code>)
 
* start the host machine and log in into it
 
* start the host machine and log in into it
 
* start a shell session (usually with CTRL-ALT-T)
 
* start a shell session (usually with CTRL-ALT-T)

Revision as of 08:57, 4 April 2016

Info Box
VirtualMachine.png Applies to DVDK
VirtualMachine.png Applies to MVM

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 [[::Category:DVDK|DVDKs]] and MVMs).

  • select your username (e.g. username@myhost.com)
  • start the host machine and log in into it
  • start a shell session (usually with CTRL-ALT-T)
  • 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.