Do you have the need to work with SSH keys from Windows and you find that this becomes a hassle very quickly? HTG goes into how to make the process as transparent as possible, using The PuTTY package suite.
kaneda99提供的图像。
在本指南中,我们将解释如何使用Putty&Winscp使用公钥从Windows SSH到Linux机器。此外,我们将启用转发选项。这将允许您继续从用密钥连接的机器跳转到另一台支持用密钥进行SSHing的机器。我们将不讨论如何在Linux机器上放置公钥,因为我们已经讨论了这个主题。
安装基本程序/软件包
If you haven’t created a key pair yet, and you want to do it from the comfort of your Windows desktop, you can use “PuTTY Key Generator” which was installed as part of the “PuTTY package“:
Note: If you already have a saved private key, you can “extract” the public portion by “load”ing it with the generator.
The “Pageant” program that was installed as part of the PuTTY package, can store your key/s and give them to mRemote, WinSCP and PuTTY as required.
Done, from now on, Putty, WinSCP and any program that serves as a fronted for them (like mRemote) will first c***ult with the Pageant program if there is a key to use for the connection.
Loading Keys automatically at startup (Optional)
The process above needs to be repeated after every machine reboot, as Pageant doesn’t save loaded key configurati***. To have it load the configuration automatically at startup, you can use one of the two methods below:
Enable SSH Agent forwarding (PuTTY/mRemote)
此配置是可选的,但这样做将允许您在SSH到一台计算机后继续,并使用相同的密钥从它SSH到下一台计算机。为此:
启用SSH代理转发(WinSCP)
Author’s Notes
While purists, will say that any serious SSHing, should be done from a Linux machine, the reality is that Ubuntu’s bug #1 “Microsoft has a majority desktop market share”, still holds true. maybe one day we’ll move to the Linux desktop completely, but that day will not be today and not for the 35 year old shell.
斯派克:所以我想我服刑了,我可以走了?声波:自由行动,塞伯坦…
... 你们中的精明人可能想知道如何通过互联网接入家庭路由器。大多数internet服务提供商(ISP)都会为您分配一个临时IP地址,该地址经常更改。如果你想要一个静态IP地址,ISP往往会额外收费。好消息...
...。他们掌握着你的数字王国以及个人信息的钥匙。这是你如何加密你的Gmail,Outlook.com,以及其他电子邮件帐户。 ...
...Safari和Edge中的YouTube、Spotify以及其他视频和音乐网站。 如何在网站上使用媒体密钥 使用媒体键应该很简单:只需按下它们。例如,如果您正在播放一段YouTube视频,而该视频隐藏在某个背景选项卡中,则可以按键盘上的“播放/...
...过借用一个不经常使用的键来“添加”一个键盘。下面是如何做到这一点。 使用微软的免费PowerToys实用程序,你可以很容易地重新分配任何键,使其与其他键一样工作(甚至给它们一个新的功能,如静音你的音频)。在本例中...
...以通过在命令提示符下输入快速命令来找到它。下面介绍如何使用Windows注册表方法查找产品密钥。 使用命令提示符查找windows 10产品密钥 要使用命令提示符查找Windows10产品密钥,您需要以管理权限打开命令行应用程序。为此,...
...到更好的组件和Windows10只是不承认你的电脑?本指南介绍如何在硬件更改后重新激活Windows10。 什么算硬件更改? 这是一个连微软都无法完全解释的领域。相反,公司在其网站上提供以下声明: “If you make significant hardware changes o...
...运行Minecraft服务器而不暴露你的IP地址吗?你可以!只需使用amazonwebservices设置一个免费代理,就可以保护您的服务器免受拒绝服务攻击。我们会教你怎么做。 本指南适用于任何游戏服务器,而不仅仅是Minecraft。它所做的只是特...
...用隧道。 所以我们得到了“反向SSH隧道”这个名字 它是如何工作的? 反向SSH隧道依赖于远程计算机使用已建立的连接来侦听来自本地计算机的新连接请求。 远程计算机监听本地计算机上的网络端口。如果它检测到对该端口的SS...
...,这种设备加密技术比完整的BitLocker更为有限。 攻击者如何利用此漏洞:不需要利用漏洞!如果您的Windows Home PC未加密,攻击者可以删除硬盘驱动器或启动PC上的其他操作系统来访问您的文件。 解决方案:支付99美元升级到Window...