0%

Mobaxterm挺好用的，只是那个文本编辑器不舒服。

## VSCode设置SSH密钥登录

（要是认证失败什么的，建议把那些.ssh文件夹底下的文件删了，比如known_hosts）

Yes, you should be prompted to enter your token or password automatically. However, passwords are not saved, so using key based authentication is typically more convenient

（当然这里是新出的功能，bug当然少不了，我就遇到过这样的, 一般遇到问题先升一下最新版或者用insider试试，再不行就去GitHub提issue）

## SSH端口转发

MobaXterm里选Tools > MobaSHHtunnel > New SHH tunnel > Dynamic Port forwarding (SOCKS proxy)

## 突然意识到

WireGuard据说要加到新的Linux Kernel里面，但是现在教研室的老Ubuntu只能自己装（这个我18年就听说了要加进kernel啦，连Linus都说好要加辣<span class=“hint–top hint–error hint–medium hint–rounded hint–bounce” aria-label="Linus在邮件中回复说：

Btw, on an unrelated issue: I see that Jason actually made the pull
request to have wireguard included in the kernel.

Can I just once again state my love for it and hope it gets merged
soon? Maybe the code isn’t perfect, but I’ve skimmed it, and compared to the horrors that are OpenVPN and IPSec, it’s a work of art.
https://lkml.org/lkml/2018/8/2/663
">[5]

win10的官方客户端已经出了，之前18年那会我还用的Tunsafe，设置参考这里[6]

## 注

1. 1.设置 SSH 通过密钥登录
2. 2.官方文档：Remote Development using SSH
3. 3.墙与梯的较量
4. 4.实战 SSH 端口转发
5. 5.Linus在邮件中回复说： >Btw, on an unrelated issue: I see that Jason actually made the pull >request to have wireguard included in the kernel. > >Can I just once again state my love for it and hope it gets merged >soon? Maybe the code isn't perfect, but I've skimmed it, and compared to the horrors that are OpenVPN and IPSec, it's a work of art. 见https://lkml.org/lkml/2018/8/2/663
6. 6.Setting up WireGuard on Windows