Git shell会在OpenSSH弹出窗口中提示输入密码 [英] Git shell prompts for password in an OpenSSH popup window

查看:4896
本文介绍了Git shell会在OpenSSH弹出窗口中提示输入密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道为什么,最近git shell要求我在老式的OpenSSH窗口中输入证书(顺便说一句,我使用https连接),而不是在控制台中提示。



这可以防止我使用wincred,我必须输入我的凭据。非常烦人,特别是当我犯一个错字时,控制台光标消失。系统:Windows 7


控制台:ConEmu

$ b如何返回默认模式?


$ b



感谢您的帮助! 方案使用 $ git config --global core.askPass



您可以还要在您的配置中设置凭据以防止每次都收到提示( https://git-scm.com/docs/ gitcredentials )。


I don't know why, recently git shell asks me for credentials in an old-fashioned OpenSSH window (by the way, I use a https connection) instead of just prompting in the console.

That prevents me to use the wincred, I always have to type my credentials. Quite annoying, esecially that when I make a typo, the console cursor disappears. How can I go back to the default mode?

System: Windows 7
Console: ConEmu

Thanks for help!

解决方案

Use $ git config --global core.askPass ""

You can also set credentials in your config to prevent being prompted every time (https://git-scm.com/docs/gitcredentials).

这篇关于Git shell会在OpenSSH弹出窗口中提示输入密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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