From db084537595df3967723986b2df66426367493de Mon Sep 17 00:00:00 2001 From: TRN Date: Fri, 11 Apr 2025 22:46:53 +0300 Subject: [PATCH] Add ssh key copy code --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9ed60df..eacea8e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # useful-commands +- Copy ssh key to linux machine + +```powershell +type $env:USERPROFILE\.ssh\id_rsa.pub | ssh {IP-ADDRESS-OR-FQDN} "cat >> .ssh/authorized_keys" +``` + +