Changes

Jump to: navigation, search
RSA key generation
== RSA key generation ==
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 which usually is your email like <code>name.surname@company.com</code> or something releated to your host es. <code>username@myhost.com</code>)
* start the host machine and log in into it
* start a shell session(usually with CTRL-ALT-T)
* enter the <code>.ssh</code> subdirectory into your home directory: <code>cd ~/.ssh/</code>
* launch the following command:<br> 
<pre>ssh-keygen -t rsa -C "username@myhost.com" -f username@myhost.com</pre>
 
* this command creates the files <code>~/.ssh/username@myhost.com</code> ('''private key''') and <code>~/.ssh/username@myhost.com.pub</code> ('''public key''')
* edit your <code>~/.ssh/config</code> by adding the following lines:
743
edits

Navigation menu