简体   繁体   English

您可以使用 Azure Devops Server 存储库中的 ssh 进行 git clone 吗?

[英]Can you git clone with ssh from Azure Devops Server repos?

I would like to authenticate using SSH when git cloning repos from our Azure Devops Server (hosted onpremises).当从我们的 Azure Devops 服务器(托管在本地)git 克隆存储库时,我想使用 SSH 进行身份验证。

I do see a tutorial in Microsoft's docs , however the sample seems to be for Azure Devops Services (hosted in cloud).我确实在Microsoft 的文档中看到了一个教程,但是该示例似乎适用于 Azure Devops 服务(托管在云中)。

Moreover - in the "git clone" section I see the SSH tab with no URL filled.此外 - 在“git clone”部分,我看到了没有填充 URL 的 SSH 选项卡。

在此处输入图片说明

Is it possible?是否可以? Is our Devops Server missing something?我们的 DevOps 服务器是否缺少某些东西?

You need to enable SSH on your server.您需要在您的服务器上启用 SSH。 In the management console, select Application Tier and in the right side you'll find the SSH settings.在管理控制台中,选择 Application Tier,在右侧您将找到 SSH 设置。

Azure Devops 服务器管理控制台

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM