我已经遍历了所有可用的tramp-methods
,所以我想尝试不同的登录和复制程序组合-没有任何用。我基本上要问的是,现在已经有更多的选择了。消息缓冲区显示如下内容:
Tramp: Waiting for prompts from remote shell
Tramp: Sending command `ssh -e none host && exit || exit'
Tramp: Opening connection for host using ssh...done
它在这里永远挂着。
我可以使用Cygwin
ssh
(据我所知是OpenSSH)连接到该主机。有任何想法吗?
最佳答案
我假设您使用的是NTEmacs,而不是Cygwin的Emacs?我从来没有碰到过密码提示来使用该组合的运气。
您将要使用ssh-agent:
Using tramp with EmacsW32 and cygwin, possible?
如果不是那样,请自定义tramp-verbose
变量以查找有关其挂起原因的更多详细信息。
关于emacs - 尝试通过Cygwin上的SSH连接时,Emacs挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17683623/