emacs - 尝试通过Cygwin上的SSH连接时,Emacs挂起

标签 emacs ssh cygwin tramp

我已经遍历了所有可用的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/

相关文章:

cygwin - 将 cygwin bash 转换为 tcsh

emacs 放大/缩小

emacs - 在reveal.js每张幻灯片的底角放置背景图片

multithreading - Perl - 如何制作特定于各个线程的库

hadoop - 咕噜模式下的 pig

compiler-errors - 配置: error: C compiler cannot create executables when installing Jasper libraries using cygwin

emacs gud 窗口使用

emacs - 如何获得 ediff 模式以停止突出显示仅由空格不同的行?

尝试在远程桌面上运行应用程序时出现 Python 错误

c - 在 execl() bash 返回 eio(输入/输出错误)后从标准输入读取