Deploying a VM to Azure with CLI

Christopher Gore
Christopher Gore used Ask the Experts™
on
I am trying to add a vm to Azure with the CLI. My issue is with the ssh-key.  I have generated the sha (ssh-keygen)but I am not doing some thing right when I declare the ssh-key-value.  What do I add for the ssh-key-value? See image
2019-12-26_13-42-39.png
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2014
Commented:
Either supply the value of the public key directly (can't be in a multi-line format), or supply the path to the file which contains the public key.  If you supply a path, prepend with the @ symbol.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial