Browse Source

Update 'SSH/index.md'

master
siroco 3 months ago
parent
commit
a68a9e3271
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      SSH/index.md

+ 12
- 0
SSH/index.md View File

@ -209,6 +209,18 @@ If is _root_ :
$ ssh sysadmin
## Copy the key to a server
Once an SSH key has been created, the ssh-copy-id command can be used to install it as an authorized key on the server. Once the key has been authorized for SSH, it grants access to the server without a password.
Use a command like the following to copy SSH key:
ssh-copy-id -i ~/.ssh/mykey user@host
This logs into the server host, and copies keys to the server, and configures them to grant access by adding them to the authorized_keys file. The copying may ask for a password or other authentication for the server.
Only the public key is copied to the server. The private key should never be copied to another machine.
# Next steps (future)
* Install **Monkeysphere** : GPG for SSH connections

Loading…
Cancel
Save