TORQUE Resource Manager > Configuring data management > SCP setup > Copying public SSH key to each destination host

Copying public SSH key to each destination host

Transfer public key to each destination host as the transfer user:

Easy key copy:

ssh-copy-id [-i [identity_file]] [user@]machine

Manual steps to copy keys:

> scp ~/.ssh/id_rsa.pub destHost:~ (enter password)

Create an authorized_keys file on each destination host:

> ssh destHost (enter password)

> cat id_rsa.pub >> .ssh/authorized_keys

If the .ssh directory does not exist, create it with 700 privileges (mkdir .ssh; chmod 700 .ssh):

> chmod 700 .ssh/authorized_keys

Related topics 

© 2014 Adaptive Computing