Emacs / CVS / OpenSSH:防止密码弹出 [英] Emacs / CVS / OpenSSH: preventing password popup

查看:193
本文介绍了Emacs / CVS / OpenSSH:防止密码弹出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在全屏模式下在我的Ubuntu上网本上使用GNU Emacs。当我编辑版本控制下的文件并按Cx vv提交最新的更改时,会打开一个OpenSSH弹出窗口,询问我的存储库所在服务器的密码。



不幸的是,由于全屏模式,弹出窗口不会出现,我无法输入我的密码。但它仍然是某种模式,所以我也不能回到emacs,也就是说,全屏模式(或做任何其他的,像C-g)。我基本上被困了。



作为一个emacs用户,我发现弹出窗口的想法反而令人厌恶;-)所以理想情况下,我想被要求ssh密码在minibuffer。我如何调整我的设置来实现这一点? (我更喜欢每次输入密码,而不是在〜/ .ssh /).

解决方案

你可以在启动 emacs (或另一个shell)之前,请使用 ssh-agent


I'm using GNU Emacs on my Ubuntu netbook in fullscreen mode. When I edit files that are under version control and hit C-x v v to commit the latest changes, an OpenSSH popup window will open and ask me for my password for the server on which my repository lives.

Unfortunately, because of the fullscreen mode, the popup window will not come up front and I cannot enter my password. But it's still somehow modal, so I also can't go back to emacs and, say, leave fullscreen mode either (or do anything else, like C-g). I'm basically trapped.

As an emacs user, I find the idea of popup windows disgusting anyway ;-) so ideally, I'd like to be asked for the ssh password in the minibuffer. How can I tweak my setup to make that happen? (I prefer to type in my password every time instead of storing a keypair in ~/.ssh/).

解决方案

You could use ssh-agent before launching emacs (or in another shell).

这篇关于Emacs / CVS / OpenSSH:防止密码弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆