2016-03-08 88 views
0

本周早些时候,我通过tramp模式(ubuntu 14.04)尝试了ssh'ing进入我的实验室机器(正如我经常做的那样),现在它似乎无法正常工作。我试图检查所有文件夹的权限,实际上ssh工作(在终端,甚至嵌套在emacs中)。但是,它仍然不会连接我。我在.ssh文件中看到连接,所以我不确定问题是什么。有任何想法吗?这会杀死我的生产力,因为我宁愿流氓混入一切。流氓模式将无法正常工作(ssh无法解析主机名)?

######### from C-x C-f ssh:[email protected] (which has always worked in the past) ####### 
ssh: Could not resolve hostname ssh: Name or service not known 

########## from *Messages buffer* ##################### 
Tramp: Opening connection for ssh using scp... 
Tramp: Sending command `exec ssh -e none ssh' 

Tramp: Waiting for prompts from remote shell 
Tramp: Sending command `exec ssh -e none ssh' 
Tramp: Opening connection for ssh using scp...done 
byte-code: Process died 

侧面说明:我也开始有弹出窗口W¯¯检测/系统程序的问题,但在/ var /崩溃文件夹中的唯一的事情就是一个虚拟的盒子问题,所以我无法想象这可能是它。 (我可以清除emacs并再次抓住我的配置并以此方式解决它?)

回答

0

错误消息清楚地表明您正在做C-x C-f /ssh:[email protected]/path/to/file。在host之后冒号丢失。请打开这个像C-x C-f /ssh:[email protected]:/path/to/file

+0

哇。我感觉非常愚蠢,我通常自动完成与ido所以猜测我一直在懒惰 – Maximus12793