September 2016
Beginner
713 pages
17h 1m
English
Your SSH key can be used to authenticate yourself to a Linux server, and although you can manually copy SSH keys onto the servers you control, there are easier ways to manage them. Using the ssh-copy-id command allows you to easily copy your public key onto a server, which can be valuable when managing a great number of servers.
For this recipe, either you will need a Red Hat- or Debian-based Linux host.
Using ssh-copy-id only requires a single command to copy a public key to a target server. For instance, to copy my SSH key to a server called testserver, you can use the following command:
ssh-copy-id testserver
The ssh-copy-id command logs onto a server using another authentication ...
Read now
Unlock full access