I've created a new Azure AD account and an Azure node web app. I can log in using azure-cli
and I can git push deploy.
However instead of getting a password prompt every time I'd like to be able to authenticate using an ssh key. There's a Management Certificates section in the azure portal settings panel, and there's an azure account cert export
option from the azure CLI, but I'm not sure either of those are what I'm looking for.
Open your security settings by browsing to the web portal and selecting your avatar in the upper right of the user interface. Select SSH public keys in the menu that appears. Select + New Key. Copy the contents of the public key (for example, id_rsa.
It is possible to save your git password locally (on windows, when using msysgit:)
git config --global credential.helper wincred
for other options, see Is there a way to skip password typing when using https:// on GitHub?
Azure Web Apps does not support SSH so you need to use https. However you should only need to set the git remote once so confused why you would get prompted for a password each time. Here is an article that walks through the steps for enabling git push for Azure Web Apps, maybe there's a step you missed. http://azure.microsoft.com/en-us/documentation/articles/web-sites-publish-source-control/
hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With