Aug 22, 2017 GitHub: Add an SSH Key. How to use SSH Public Key authentication - Duration: 8:26. Average Linux User 14,207 views. Eliminate Password on git push by Generating SSH keys for Github. Ssh-keygen -t rsa -b 4096 -C 'your github's email' # Creates a new ssh key # Generating public/private rsa key pair. This will generate a key for you.You have to copy that and insert into your Github's account (just one time).
This template allows you to create a Linux Virtual Machine with SSH Keys. This template also deploys Virtual Network with an inbound rule allowing only port 22 connections, Public IP addresses, a Public domain namespace, and a Network Interface.
The SSH rsa public key is typically generated by ssh-keygen, among other tools, on Linux, Mac, or Windows. If you already have an ~/.ssh/id_rsa.pub file, that will work directly, as you would expect. When deployed using the Azure portal, you should paste in the contents of your ssh-rsa public key file as a string. When you deploy the template from the Azure CLI, when the parameter prompts you for the string, do not surround it in quotes, or they will be treated as part of the public key.
For more information about SSH keys, see:
Generate Public Ssh Key
If you are new to Azure virtual machines, see:
Github Generate Public Ssh Key Mac
- Azure Virtual Machines.
If you are new to the template deployment, see: