google你真不让人省心, SwitchySharp代理设置

简单搜索问百度
但是非常专业性的东西,百度就力不从心了,还是要google
但是google在国内被和谐中ing
好吧,那咱们就加个vpn代理,自动切换. 使用google拓展插件 SwitchySharp
开始的时候只是简单的设置了个google的规则

如匹配到www.gogole.com则使用vpn

*://www.google.com/*

后来发现,由于vpn是日本的 google总跳到www.google.co.jp
于是又加了个规则

*://www.google.co.jp/*

操作了一会儿用手点了下 书签栏的google链接,又跳到了google香港,这是之前没使用vpn时收藏的链接,跳到hk正常
于是又加了个

*://www.google.com.hk/*

继续在google上搜索,然后突然想登录下google
然后又跳到accounts.google.com

尼玛,我这回火了,你这规则也太多了,我TM都加好几条了,你丫没完没了

气愤中ing 直接匹配

*://*.google.*/*

靠 。。。。。。。。。。。。。
7850204F-B0FB-4B88-86BF-581C3C0D43D4

mac 不能启动sshd 报错 Could not load host key: /etc/ssh_host_rsa_key

本启动苹果的sshd服务,通过crt链接,但发现竟然报错
报错内容:

joedeMacBook-Pro:etc joe$ /usr/sbin/sshd
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_dsa_key

发现没有这两个文件
/etc/ssh_host_rsa_key
/etc/ssh_host_dsa_key

解决方法:

joedeMacBook-Pro:etc joe$ sudo ssh-keygen -t rsa -f /etc/ssh_host_rsa_key
Password:
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /etc/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh_host_rsa_key.pub.
The key fingerprint is:
39:c3:f3:0c:ea:46:88:38:43:41:a1:e9:cd:e4:d4:4a root@joedeMacBook-Pro.local
The key's randomart image is:
+--[ RSA 2048]----+
|.o.              |
|.o  .            |
|o .E .           |
|..B .  . .       |
|.o * .  S        |
|+ . . .. B       |
| o   ..   o      |
|     ..          |
|     ..          |
+-----------------+
joedeMacBook-Pro:etc joe$ sudo ssh-keygen -t dsa -f /etc/ssh_host_dsa_key
Generating public/private dsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /etc/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh_host_dsa_key.pub.
The key fingerprint is:
36:48:71:2d:13:58:2a:29:3d:73:ad:da:42:73:58:25 root@joedeMacBook-Pro.local
The key's randomart image is:
+--[ DSA 1024]----+
|      Eo=o       |
|   . ..Bo .      |
|  . * = .o       |
|   . O o         |
|    + + S        |
|   . = . .       |
|    o .          |
|     .           |
|                 |
+-----------------+