当前位置:编程学习 > wap >>

QtCreator如何设置SSH,才能弹出密码输入窗口?

http://doc.qt.nokia.com/qtcreator-snapshot/creator-version-control.html

If you configure Git for use with git bash, only, and use SSH authorization, Git looks for the SSH keys in the directory where the HOME environment points to. The variable is always set by git bash.

However, the variable is typically not set in a Windows command prompt. When you run Git from a Windows command prompt, it looks for the SSH keys in its installation directory, and therefore, the authorization fails.

You can set the HOME environment variable from Qt Creator. Select Tools > Options... > Version Control > Git. Select the Environment Variables and the Set "HOME" environment variable check boxes. HOME is set to %HOMEDRIVE%%HOMEPATH% when the Git executable is run and authorization works as it would with git bash.

这段帮助文档的意思看起来是可以在QtCreator里使用ssh的密码输入的。
可是我反复设置都失败。
现在只能被迫不使用密码。

有没有人尝试过如何解决这个问题?

在Git的选项界面中:Git needs to find Perl in the environment as well
这看起来需要Perl环境。那么这个Perl能否使用msys-git附带的perl呢? --------------------编程问答-------------------- 到QT专区问了吗,效果能好一些吧 --------------------编程问答-------------------- 可以使用
不过你得把path加入路径中 --------------------编程问答-------------------- 帮顶  这个在c++版的确接触的人比较少 到网上搜搜吧 --------------------编程问答-------------------- 不懂,帮顶了~ --------------------编程问答--------------------
引用 3 楼 yuyan_linger 的回复:
帮顶  这个在c++版的确接触的人比较少 到网上搜搜吧

你实践了吗?
PATH设置了,HOME变量也设置了,都不行。 --------------------编程问答-------------------- 顶一下 --------------------编程问答-------------------- http://hi.baidu.com/joyhub2140/blog/item/175989cd41306e0a00e928ed.html  这个比较全喽 --------------------编程问答--------------------
引用 7 楼 yiyaaixuexi 的回复:
http://hi.baidu.com/joyhub2140/blog/item/175989cd41306e0a00e928ed.html  这个比较全喽

这个文章昨天就看过,实在后发现失败。
这是另外几个相关链接:
http://stackoverflow.com/questions/5699684/using-git-push-from-qt-creator
http://www.qtcentre.org/threads/24162-Using-git-with-qt-creator
http://doc.qt.nokia.com/qtcreator-snapshot/creator-version-control.html
http://help.github.com/ssh-key-passphrases/ --------------------编程问答-------------------- 顶一下 --------------------编程问答-------------------- 顶一下 
2 --------------------编程问答-------------------- QtCreator好像还没搞定有密码的git, https://bugreports.qt.nokia.com/browse/QTCREATORBUG-2943?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs --------------------编程问答-------------------- linux下可以
补充:移动开发 ,  Qt
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,