2013-01-08 22 views
0

我在Ubuntu服務器中設置了一個git回購。在Eclipse中檢出GIT中的回購問題

我想結賬到我的Windows機器回購到日食。

我已經安裝了EGIT插件my eclipse。

我試着通過在eclipse中選擇URI選項來檢查使用插件導入文件,並且得到了一個未知的主機異常。

這些都是我給的設置:

1) URI : [email protected]:/path/to/repo 
2) Host : hostname 
3) Repository Path : /path/to/repo 
4) Protocol :SSH 
5) Port : 22 
6) user : username 
7) pwd : password 

是否有需要輸入IP地址的任何地方。 服務器位於我的局域網上,我可以使用putty訪問和處理我的repo。 這裏缺少什麼信息。

錯誤味精也如圖: enter image description here

回答

0

根據the docs你需要使用一個完整的URI。

URI: ssh://[email protected]:/path/to/repo 
+0

我試了一樣,並得到了相同的錯誤消息。我已通過附加錯誤截圖更新了問題。 –

+0

截圖中缺少冒號。 'ssh:// gautam @ gaara:/ home/....' – ellotheth

+0

Thanks will tr​​y this and back back.But如果我必須測試連接到我的Ubuntu服務器使用這個主機名和用戶來檢查之前,我可以試試這個在日食我怎麼能測試this.Coz如果我試圖測試連接與服務器的IP地址它顯示它的連接。我想與主機名相同種類的確認。 –