Add ssh key copy code

This commit is contained in:
TRN 2025-04-11 22:46:53 +03:00
parent dd886943cb
commit db08453759

View File

@ -1,2 +1,9 @@
# useful-commands # 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"
```