2014-01-11 27 views
1

我的SSH的設置有關:混帳的ssh配置沒有地址與名稱

C:\用戶\ maether.ssh \ CONFIG

host maether 
     user git 
     hostname xx.xx.xx.xx 
     identityfile ~/.ssh/maether/maether 
     Port xxxxx 

我RSA-文件在文件夾中:c:\Users\maether\.ssh\maether\

我打開cmd,並鍵入:

ssh maether 

通常情況下,我應該讓我的git回購的答案sitory,但我得到:

SSH:maether:no如果我在echo %HOME%輸入名稱爲」

相關的地址,我得到C:\Users\maether\.ssh

我採取相同的方式不同的計算機上,並它的工作原理,但現在我得到了這個失敗:no address associated with name。 我可以忘記什麼?

+0

格式化您的問題,特別是代碼和程序輸出正確使問題更容易理解,並提高了很多答案的機會。請檢查我從標題複製到最後一個段落的錯誤消息是否是您收到的錯誤消息。 –

回答

1

應該

c:\Users\maether\.ssh\config 

c:\Users\maether.ssh\config 

注意失蹤\

+0

sry,這裏只是一個打字錯誤。 ssh-config-file當然是:c:\ Users \ maether.ssh \ config – user3184895

+1

看起來像是錯誤地輸入了它! –

+0

c:\ Users \ maether \ .ssh \ config – user3184895

相關問題