Skip to content

Instantly share code, notes, and snippets.

@TamarZanzouri
Created January 10, 2023 19:13
Show Gist options
  • Save TamarZanzouri/7e195e8cae2f9de1c1e1339f476bd8c5 to your computer and use it in GitHub Desktop.
Save TamarZanzouri/7e195e8cae2f9de1c1e1339f476bd8c5 to your computer and use it in GitHub Desktop.
push key
@{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