windows 使用 PuTTY 作为本地终端模拟器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1943288/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 06:59:27  来源:igfitidea点击:

Use PuTTY as a local terminal emulator?

windowscygwinterminalputty

提问by spitfire

Currently, I use PuTTY for SSHing into my linux server and Cygwin for local development when working on my Windows machine. Sadly, the terminal emulator that comes with Cygwin doesn't approach the quality of the excellent terminal emulator that comes with PuTTY. And it occurs to me that there really shouldn't be any conceptual difference between connecting PuTTY to a remote server over SSH and using PuTTY locally as a Windows shell to interface with the Cygwin system... but I haven't been able to figure out how to do this for the life of me. Is it possible to use PuTTY this way? If so, how?

目前,在我的 Windows 机器上工作时,我使用 PuTTY 将 SSH 连接到我的 linux 服务器,并使用 Cygwin 进行本地开发。遗憾的是,Cygwin 附带的终端模拟器的质量无法与 PuTTY 附带的优秀终端模拟器的质量相提并论。在我看来,通过 SSH 将 PuTTY 连接到远程服务器与在本地使用 PuTTY 作为 Windows shell 与 Cygwin 系统交互之间真的不应该有任何概念上的区别......但我一直无法弄清楚找出如何为我的生活做到这一点。可以这样使用 PuTTY 吗?如果是这样,如何?

回答by Amro

Take a look at PuTTyCyg.

看看PuTTyCyg

Also I like to use MinTTY available through the Cygwin installer...

我也喜欢通过 Cygwin 安装程序使用 MinTTY ......

回答by M0E-lnx

I suppose if you somehow managed to install and start an ssh server on your local cygwin environment, putty should be able to connect to localhost

我想如果您以某种方式设法在本地 cygwin 环境中安装并启动了 ssh 服务器,putty 应该能够连接到 localhost

回答by Victor Nicollet

PuTTY lets you connect to servers with ssh. Have you tried running an sshdon your Cygwin, and connecting to localhost with PuTTY ?

PuTTY 允许您使用 ssh 连接到服务器。您是否尝试过sshd在 Cygwin 上运行,并使用 PuTTY 连接到 localhost?