您已在joyent no.de的帐户设置中复制了我的cloud9 ide SSH密钥。当我在我的cloud9 ide控制台中启动“git push mywebsite.no.de master”时,出现以下错误:
Warning: Permanently added 'mywebsite.no.de,64.30.136.97' (RSA) to the list of known hosts.
Permission denied (gssapi-keyex,gssapi-with-mic,publickey).
fatal: The remote end hung up unexpectedly
这可能与以下未在任何地方设置的信息有关吗?我认为它是cloud9 ide的配置,但是如何设置呢?
主持mywebsite.no.de
港口26674
用户节点
ForwardAgent是的
答案 0 :(得分:3)
对于像我这样的node.js,git,cloud9和joyent noobs,你就是这样做的:
git remote add node ssh://node@yourhost.no.de:66666/home/node/repo
git commit -a -m 'Victor rules!'
git push node master
答案 1 :(得分:1)
似乎这只能通过github实现。我从cloud9ide推送到github,然后我拉上我的本地git,然后我推送到Joyent。有点过于复杂,但我不能“cd ..”因此无法添加ssh配置文件与适当的joyent配置。