我認爲這是使用tramp的非常基本的問題,但它對我無效。 我有一個指向我的Amazon EC2機使用ssh config的emacs中的流氓模式
Host amazon
Hostname xxxx.amazonaws.com
Port yyy
User me
IdentityFile ~/.ssh/ubuntu
ForwardAgent yes
我可以很容易地從我的終端做的ssh亞馬遜我的〜/ .ssh/config文件,我去的Amazon EC2(所以我的配置是正確的),但在emacs的 我做的:
C-x C-f /ssh1:amazon:
我總是得到這個錯誤 在Aquamacs:
Process *tramp/ssh1 amz* exited abnormally with code 255
在Emacs中:
tramp: Opening connection at amz using ssh1...
tramp: Waiting for prompts from remote shell
tramp: Waiting 60s for prompt from remote shell
tramp-process-actions: Login failed
我也有其他的SSH配置,他們ssh我的本地機器上的虛擬框,他們有同樣的問題。
我真的很感激任何幫助。
這是值得看看'男人ssh_config' – DJJ 2015-09-07 07:47:55