visual-studio - ssh keys authentication for TFVC
问题描述
I am working on a Visual Studio 2019 community project.
I have set up a remote git repository on azure-devops.
I can push/pull commits by command line. Everything works fine: it does not ask me any password because i have put my ssh public key in azure devops.
I have created a second project but I need to work with TFVC instead of git.
My ssh key is still configured but visual studio asks my Microsoft Login/pass instead of using ssh key. How can I tell visual studio to use my ssh key ?
解决方案
You cannot. TFVC does not support SSH auth. In Azure DevOps you can only use OAuth authentication.
SSH was added specifically for Git and by the time that was added, TFVC was already a "finished product".
推荐阅读
- javascript - Trying to open webpages in a loop in chrome devtools
- python-3.x - 使用多个工作表创建 Google 工作表
- c# - C# - 作为对象的计算 - 具有许多依赖关系的许多计算
- python - 陷入嵌套的 While 循环
- html - 弹性容器的非直接子子项似乎垂直未对齐。为什么?
- selenium - 当用户关闭 Selenium 中的选项卡时关闭 Chromewebdriver
- javascript - 根据用户输入 id 从 JSON 中按名称获取项目
- python - How to log results as and when available without losing it during a crash?
- angular8 - ngrx store state undefined
- python-3.x - subclass tuple with typed arguments