Skip to main content
Enable access to a remote host
- To get access to the INCD login hosts you must send your SSH public key to the INCD administrators. However in certain cases such as when using the INCD cloud services you may want to add your SSH key to a VM managed by yourself, usually this is done through the Openstack command line interface or through the Openstack Horizon dashboard. See the INCD cloud documentation here.
- If you need to add a key manually to a remote host account the steps are:
- login into the remote host account
- check if the directory
$HOME/.ssh
exists in the home directory of the remote user, if not create it with
mkdir $HOME/.ssh; chmod u=rwx $HOME/.ssh
- check if the file
$HOME/.ssh/authorized_keys
exists under $HOME/.ssh
, if not create the file with touch $HOME/.ssh/authorized_keys; chmod u=rw $HOME/.ssh/authorized_keys
- copy the public key to the remote host and append it to the file
$HOME/.ssh/authorized_keys
make sure not to overwrite other keys that may already exist.