Set ssh key
Da Wiki Neen.
(Differenze fra le revisioni)
M.zani (Discussione | contributi)
(Creata pagina con '<br> <br> To assign SSH keys of all administrators and a VS owner to a virtual server, use the following request: POST /virtual_machines/:virtual_machine_id/set_ssh_keys.xml ...')
Differenza successiva →
(Creata pagina con '<br> <br> To assign SSH keys of all administrators and a VS owner to a virtual server, use the following request: POST /virtual_machines/:virtual_machine_id/set_ssh_keys.xml ...')
Differenza successiva →
Versione delle 14:38, 20 feb 2014
To assign SSH keys of all administrators and a VS owner to a virtual server, use the following request:
POST /virtual_machines/:virtual_machine_id/set_ssh_keys.xml POST /virtual_machines/:virtual_machine_id/set_ssh_keys.json
XML Request example
curl -X POST -u user:userpass http://<span style="background-color: navy; color: white;" />neen.cloud.it/virtual_machines/:virtual_machine_id/set_ssh_keys.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'
JSON Request example
curl -X POST -u user:userpass http://<span style="background-color: navy; color: white;" />neen.cloud.it/virtual_machines/:virtual_machine_id/set_ssh_keys.json -H 'Accept: application/json' -H 'Content-type: application/json'