From bf6b0d3b2667c431b5a8a01fc81564c33cbc691f Mon Sep 17 00:00:00 2001 From: DJh2o2 Date: Tue, 31 May 2022 09:20:10 +0200 Subject: [PATCH] QOwnNotes commit --- ssh-copy-id.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ssh-copy-id.md diff --git a/ssh-copy-id.md b/ssh-copy-id.md new file mode 100644 index 0000000..bb06d7f --- /dev/null +++ b/ssh-copy-id.md @@ -0,0 +1,6 @@ +# ssh-copy-id +## Windows +type $env:USERPROFILE\.ssh\id_rsa.pub | ssh sascha@server0 "cat >> .ssh/authorized_keys" + +## Linux +ssh-copy-id sascha@server0 \ No newline at end of file