Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.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
在GitHub桌面上使用不同的SSH密钥_Github_Ssh_Github Desktop - Fatal编程技术网

在GitHub桌面上使用不同的SSH密钥

在GitHub桌面上使用不同的SSH密钥,github,ssh,github-desktop,Github,Ssh,Github Desktop,我使用的是sourcetree(因为它不再在windows上启动,所以我将永远跳过它:),通过将它们添加到Pageant来提供不同的.ppk密钥没有问题。我在GitHub桌面中缺少相同的功能。只有在.ssh文件夹中有一个名为id\u rsa的密钥时,它才起作用。 有没有办法指定不同的ssh,因为我有不同的github帐户用于不同的项目。不确定github桌面是否有用于此的UI,但要指定默认ssh密钥,需要添加 IdentityFile ~/.ssh/keyhello 在~/.ssh/confi

我使用的是sourcetree(因为它不再在windows上启动,所以我将永远跳过它:),通过将它们添加到Pageant来提供不同的.ppk密钥没有问题。我在GitHub桌面中缺少相同的功能。只有在.ssh文件夹中有一个名为id\u rsa的密钥时,它才起作用。
有没有办法指定不同的ssh,因为我有不同的github帐户用于不同的项目。

不确定github桌面是否有用于此的UI,但要指定默认ssh密钥,需要添加

IdentityFile ~/.ssh/keyhello

在~/.ssh/config文件中。

GitHub桌面是个问题。