优雅地乱玩Linux-6-Chrome端SSH插件

文章最初发表于szhshp的第三边境研究所
转载请注明

优雅地乱玩Linux-6-Chrome端SSH插件

最近注册了个AWS,免费一年,一年内可以各种乱玩~

从自己的电脑连接云主机一般需要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连接有多种方式:

  1. Linux/Unix 系统下Terminal直接创建
  2. Linux/Unix/Windows 系统下使用三方软件创建
  3. 浏览器中创建,需要JRE,并且很多浏览器已经不支持
  4. Chrome中使用插件创建

主要说说Chrome中插件的方案

Secure Shell:在Chrome中使用SSH

首先下载个插件:https://chrome.google.com/webstore/detail/secure-shell/pnhechapfaindjhompbnflcldabbghjo?hl=en-US

基本上看到就知道如何使用了

{: width=”700px”}

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的时候都选中即可

这看起来是个偏方不过确实有用

系列文章

优雅地乱玩Linux

参考文献

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值