Translations:Using SSH keys in Linux/16/en: Difference between revisions

Jump to navigation Jump to search
Importing a new version from external source
(Importing a new version from external source)
 
(Importing a new version from external source)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The simplest, safest way to install a key to a remote system is using the ssh-copy-id command:
==Installing locally==
<source lang="console">
This method below is still available, but we encourage all users to [[Using_SSH_keys_in_Linux#Installing via CCDB|install it via CCDB]].
ssh-copy-id -i mynewkey graham.computecanada.ca:
If for some reasons you still want to upload the public key locally on a specific cluster, the steps are described below.
</source>
This assumes that the new keypair is named "mynewkey" and "mynewkey.pub", and that your username on the remote machine is the same as your local username.
38,760

edits

Navigation menu