我可以使用Azure的混帐推部署SSH密钥? [英] Can I use an ssh key for Azure git push deployment?

查看:155
本文介绍了我可以使用Azure的混帐推部署SSH密钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个新的Azure AD帐户和Azure的节点Web应用程序。我可以登录使用蔚CLI ,我可以推送的部署。

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.

不过,而不是得到一个密码提示每次我希望能够使用SSH密钥进行身份验证。有一个在蔚蓝的门户设置面板中的管理证书部分,有一个从蔚蓝的CLI的蔚蓝帐户证书导出选项,但我不知道这类原因是什么我在寻找。

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.

推荐答案

可以在本地保存您的git的密码
(在Windows下使用msysgit时:)

It is possible to save your git password locally (on windows, when using msysgit:)

git config --global credential.helper wincred

对于其他选项,请参阅Is有没有办法使用https时跳过密码输入:// github上

这篇关于我可以使用Azure的混帐推部署SSH密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆