From 65f45a1517006a69f5bcd80244d74bae47888deb Mon Sep 17 00:00:00 2001 From: Josa Gesell Date: Fri, 21 Oct 2016 20:45:02 +0200 Subject: [PATCH] ssh-copy-id: move to common --- pages/{linux => common}/ssh-copy-id.md | 8 ++++++++ 1 file changed, 8 insertions(+) rename pages/{linux => common}/ssh-copy-id.md (66%) diff --git a/pages/linux/ssh-copy-id.md b/pages/common/ssh-copy-id.md similarity index 66% rename from pages/linux/ssh-copy-id.md rename to pages/common/ssh-copy-id.md index 9c1c26e6f0..29991234c8 100644 --- a/pages/linux/ssh-copy-id.md +++ b/pages/common/ssh-copy-id.md @@ -2,6 +2,14 @@ > Install your public key in a remote machine's authorized_keys. +- Copy your keys to the remote machine: + +`ssh-copy-id {{username@remote_host}}` + +- Copy your default key to the remote machine: + +`ssh-copy-id -i {{username@remote_host}}` + - Copy the given public key to the remote: `ssh-copy-id -i {{path/to/certificate}} {{username}}@{{remote_host}}`