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

From Alliance Doc
Jump to navigation Jump to search
(Importing a new version from external source)
 
(Importing a new version from external source)
Line 1: Line 1:
The simplest, safest way to install a key to a remote system is using the ssh-copy-id command:
Alternatively, here is another way:
<source lang="console">
ssh-copy-id -i mynewkey graham.computecanada.ca:
</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.

Revision as of 18:50, 14 October 2021

Alternatively, here is another way: