Chrome Secure Shell使用笔记

Chromebook移除了SSH的原生命令,官方给出了Secure Shell这个应用,基本能满足日常的需要

配色

网上找了好久都没发现有现成的Chrome Secure Shell配色方案,于是自己照着solarized的配色标准自己移植到了Chrome Secure Shell,暗色和亮色主题配置我也已经打包好,方便需要的同学下载

暗色

dark.png

亮色

light.png

恢复配置文件

wget https://coding.net/u/sfantree/p/self_use_OSS/git/raw/master/source/solarized-dark.json
wget https://coding.net/u/sfantree/p/self_use_OSS/git/raw/master/source/solarized-light.json

使用

解决know_host更改后无法登陆

Chrome Secure Shell对已经信任的主机密钥检查相当严格,检查到变动以后被认为是中间人攻击,这时需要手工删除本地缓存的信任主机。

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
aa:bb:cc:dd:ee:ff:gg:hh:ii:jj:kk:ll:mm:nn:oo:pp.
Please contact your system administrator.
Add correct host key in /.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /.ssh/known_hosts:2
ECDSA host key for xxxxxxxxxxxxx.yyy.zz has changed and you have requested strict checking.
Host key verification failed.
NaCl plugin exited with status code 255.
(R)econnect, (C)hoose another connection, or E(x)it?

开发者模式下的终端输入以下命令

//删除某一个信任主机,index表示索引
term_.command.removeKnownHostByIndex(index);
//删除所有的信任主机
term_.command.removeAllKnownHosts();

Chrome Secure Shell使用笔记》上有3条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注