優雅地亂玩Linux-6-Chrome端SSH插件
優雅地亂玩Linux-6-Chrome端SSH插件
從自己的電腦連接云主機一般需要SSH這樣的東西。既然有如此機會,干脆系統性學習下SSH:
Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. The best known example application is for remote login to computer systems by users.
SSH provides a secure channel over an unsecured network in a client-server architecture, connecting an SSH client application with an SSH server. Common applications include remote command-line login and remote command execution, but any network service can be secured with SSH. The protocol specification distinguishes between two major versions, referred to as SSH-1 and SSH-2.
The most visible application of the protocol is for access to shell accounts on Unix-like operating systems, but it sees some limited use on Windows as well. In 2015, Microsoft announced that they would include native support for SSH in a future release.
SSH是一種加密的網絡協議,用于在非安全網絡下建立到網絡設備的安全鏈接。SSH被廣泛用于遠程計算機的命令執行,類似VPS,云主機等設備都需要SSH進行操作。
SSH連接
建立SSH連接有多種方式:
- Linux/Unix 系統下Terminal直接創建
- Linux/Unix/Windows 系統下使用三方軟件創建
- 瀏覽器中創建,需要JRE,并且很多瀏覽器已經不支持
- Chrome中使用插件創建
主要說說Chrome中插件的方案
Secure Shell:在Chrome中使用SSH
首先下載個插件:https://chrome.google.com/webstore/detail/secure-shell/pnhechapfaindjhompbnflcldabbghjo?hl=en-US
基本上看到就知道如何使用了

EC2在Secure Shell中的認證問題: NaCl plugin exited with status code 255
EC2一般使用.pem的Private Key進行認證,但是在使用Secure Shell中經常會遇到個問題:
Host key verification failed. NaCl plugin exited with status code 255. (R)econnect, (C)hoose another connection, or E(x)it?
看很多討論說原因是:SSH需要個Public Key,但是我們只有一個Private Key
很多Solution說需要生成一個Publick Key之類的,但是實際上Public Key這兒并沒有任何要求,我們只需要將自己的.pem復制一份然后擴展名改成.pub即可
比如自己的Private Key是123.pem那么復制一份然后命名為123.pen.pub, 然后Import的時候都選中即可
這看起來是個偏方不過確實有用


浙公網安備 33010602011771號