/ Linux

Creating SSH public key on OSX for Azure VM

open terminal and enter below command

ssh-keygen -t rsa

Follow prompt to provide passphrase and destination to store private, public keys.

It creates two files

  • ssh_key
  • ssh_key.pub

Use public key(*.pub content) to create Virtual Machine as in below link..


Login to machine using ssh_key file

ssh -i ssh_key prashanthmadi@

Enter passphrase to finish login process...

Prashanth Madi

Prashanth Madi

I'm a programmer & Tech enthusiast. I work for Big Data Support Team at Microsoft, but this blog, its content & opinions are my own. I blog about tech, gadgets, code, where we're going & we've been.

Read More