This guide shows how to add an SSH key to an existing user with a home directory. The SSH daemon queries the .ssh/autorized_keys file and checks the content of this file against the provided private key.
If you are the responsible person of a project and you don't have access to an EODC VM please send your public key to email@example.com and we will add the key for you.
As the root user you can add an key to another user, you have to specify the full path.
centos@eodc:~$ sudo su
root@eodc:~$ mkdir /home/your_user/.ssh
root@eodc:~$ echo "CONTENT OF YOUR PUBLIC KEY HERE" >> /home/your_user/.ssh/authorized_keys
root@eodc:~$ chown your_user:your_user /home/your_user/.ssh/authorized_keys
root@eodc:~$ chmod 0600 /home/your_user/.ssh/authorized_keys