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隧道依賴於遠端計算機使用已建立的連線來偵聽來自本地計算機的新連線請求。 遠端計算機監聽本地計算機上的網路埠。如果它檢測到對該埠的SSH請...
...,這種裝置加密技術比完整的BitLocker更為有限。 攻擊者如何利用此漏洞:不需要利用漏洞!如果您的Windows Home PC未加密,攻擊者可以刪除硬碟驅動器或啟動PC上的其他作業系統來訪問您的檔案。 解決方案:支付99美元升級到Window...