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 (pick you main corporate e.g. -mail and use it instead of <code>usernamemyname@myhostmycompany.com</code>)in the examples below
* start the host machine and log in into it
* start a shell session (usually with CTRL-ALT-T)
* launch the following command:
<pre>ssh-keygen -t rsa -C "usernamemyname@myhostmycompany.com" -f usernamemyname@myhostmycompany.com</pre>
* this command creates the files <code>~/.ssh/usernamemyname@myhostmycompany.com</code> ('''private key''') and <code>~/.ssh/usernamemyname@myhostmycompany.com.pub</code> ('''public key''')
* edit your <code>~/.ssh/config</code> by adding the following lines:
Hostname git.dave.eu
PreferredAuthentications publickey
IdentityFile ~/.ssh/usernamemyname@myhostmycompany.com
</pre>