Created
January 10, 2023 19:13
-
-
Save TamarZanzouri/7e195e8cae2f9de1c1e1339f476bd8c5 to your computer and use it in GitHub Desktop.
push key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{key = Get-Content ot2_ssh_key.pub | Out-String} | ConvertTo-Json | Invoke-WebRequest -Method Post -ContentType 'application/json' -Uri 169.254.83.77:31950/server/ssh_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment