Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Check if you have an existing ssh key pair on other ECMWF platforms:

    No Format
    $> ls ~/.ssh/id_*
    ~/.ssh/id_rsa    ~/.ssh/id_rsa.pub 

    If you don't, you may generate them like so:

    No Format
    $> ssh-keygen                         # press 'enter' 3 more times


  2. Make sure it is added into the different platforms to be used

    Note

    If the key was already present in the ~/.ssh/authorized_keys file, it will be duplicated.


    No Format
    $> ssh-copy-id -i ~/.ssh/id_rsa.pub ecgate  # also gives access to lxc and linux workstation
    $> ssh-copy-id -i ~/.ssh/id_rsa.pub cca
    $> ssh-copy-id -i ~/.ssh/id_rsa.pub aa-login
    # or for users with no formal access to HPC service:
    $> ssh-copy-id -i ~/.ssh/id_rsa.pub ecs-login


  3. Copy your key pair onto those platforms so you can make the connections in both directions:

    No Format
    $> rsync -av ~/.ssh/id_rsa* cca:.ssh/
    $> rsync -av ~/.ssh/id_rsa* aa-login:.ssh/
    # or for users with no formal access to HPC service:
    $> rsync -av ~/.ssh/id_rsa* ecs-login:.ssh/


...