Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
EclipseGit和ssh代理_Eclipse_Git_Egit_Ssh Agent - Fatal编程技术网

EclipseGit和ssh代理

EclipseGit和ssh代理,eclipse,git,egit,ssh-agent,Eclipse,Git,Egit,Ssh Agent,我使用eclipse和git(egit) 我想使用我的ssh代理,这样我就可以从eclipse中推送。有人知道如何设置egit以使用ssh代理吗 背景:我无法将密钥上载到eclipse,因为我的密钥位于加密棒上。我的ssh代理可以在opensc的帮助下加载。2016年6月更新(4年后):现在提到: 现在可以通过project、EclipseSh代理和Pageant支持实现 旧版本Eclipse的一个解决方法是通过设置GIT_SSH环境变量,使用本机OS SSH客户端而不是Eclipse内置客

我使用eclipse和git(egit)

我想使用我的ssh代理,这样我就可以从eclipse中推送。有人知道如何设置egit以使用ssh代理吗

背景:我无法将密钥上载到eclipse,因为我的密钥位于加密棒上。我的ssh代理可以在opensc的帮助下加载。

2016年6月更新(4年后):现在提到:

现在可以通过project、EclipseSh代理和Pageant支持实现


旧版本Eclipse的一个解决方法是通过设置
GIT_SSH
环境变量,使用本机OS SSH客户端而不是Eclipse内置客户端:

export GIT_SSH=/usr/bin/ssh

(请参阅和)

在eclipse启动脚本或
.profile
(或任何位置)在启动eclipse之前添加
导出GIT\u SSH=/usr/bin/SSH
。然后eclipse使用默认ssh,该ssh使用ssh代理,即使您的密钥在智能卡上,您也无法在eclipse中运行pull和push命令


编辑:GIT_SSH由eclipse的egit解释,但也由独立的GIT解释。将其设置为
/usr/bin/ssh
会将其设置为独立git的默认值,因此只有egit会更改其行为。

不行!这么多年的eclipse,仍然无法使用
智能卡
ssh
/
ssh代理
?真的很失望回到eclipse


结帐。它包括
cac ssl中继
,它可以作为一个通用隧道从任何需要cac访问的客户端应用程序(包括git/eclipse)运行。

@gautamvegeta您可以尝试(自己没有测试过)不再维护存储库/插件:-(@ST-DDT 7年后,我没有被堵住:)可能包括更多最新(2019年)的参考资料。请注意(截至2021年第一季度),Linux工作站上仍然不支持操作系统提供的ssh代理(如Ubuntu上的seahorse);看:@sxc731那太糟糕了。我希望这些代理人很快会得到支持。