Skip to main content

Create an ssh key

  • Access to INCD cluster is done by ssh keys

Linux

  • Users should generate the key at they local working machine
$ ssh-keygen -b 4096 
Generating public/private rsa key pair.
Enter file in which to save the key (/home/username/.ssh/id_rsa): 
Created directory '/home/username/.ssh'.
Enter passphrase (empty for no passphrase):           ----> IMPORTANT: Choose a strong password 
Enter same passphrase again:                          ----> IMPORTANT: Choose a strong password
Your identification has been saved in /home/username/.ssh/id_rsa.
Your public key has been saved in /home/username/.ssh/id_rsa.pub.
  • ssh-keygen will create a pair o keys privat (id_rsa) / public (id_rsa.pub) bellow the ~username/.ssh.
ls -l ~username/.ssh/
total 8
-rw------- 1 username group 1743 Feb 19 10:52 id_rsa
-rw-r--r-- 1 username group  404 Feb 19 10:52 id_rsa.pub
  • Users should send to INCD administrators only the public key id_rsa.pub

Windows

  • For user accessing INCD public machines we recommend the use of Linux emulaters in Windows like Mobaxterm

  • Windows users can also generate ssh-keys using Putty

    • Download and install putty Putty
    • generate the key at they local working machine:
  • Users should send to INCD administrators only the public key id_rsa.pub