title: SSH key from google colab
body: <p>I want to use <code>git clone</code> on <code>google colab</code></p>
  <p>First, I tried to git <code>clone@git.exmaple.com:/~/myGit/myproj.git</code></p>
  <p>However it shows ssh error (of course)</p>
  <pre><code>Cloning into 'myproj'...
  Host key verification failed.
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  <p>So one idea, create ssh key every time and put to server's authorized_keys file???</p>
  <pre><code>!ssh-keygen
  Generating public/private rsa key pair.
  Enter file in which to save the key (/root/.ssh/id_rsa): 
  Enter passphrase (empty for no passphrase): 
  Enter same passphrase again: 
  Your identification has been saved in /root/.ssh/id_rsa.
  Your public key has been saved in /root/.ssh/id_rsa.pub.
  The key fingerprint is:
  SHA256:ObNjcAokQn16AMm/ppPq8A4VGUDFKjr3Ck17wrNllMw root@6ef89c7a5cd3
  The key's randomart image is:
  +---[RSA 2048]----+
  |+=B.             |
  |.o * .           |
  |. * =            |
  |.o O o   .       |
  |o o E . S        |
  |o=.= . + +       |
  |+oX.+ . +        |
  |.B B.  . .       |
  |+o*.             |
  +----[SHA256]-----+
  </code></pre>
  <p>However I am not sure where ssh key goes and what should I do next.</p>
  <p>Also I guess my first idea was wrong.</p>
  <p>does anyone help??</p>