第一步:打开WSL的ssh连接
ref: ssh连接win ubuntu_使用SSH终端连接WSL_倔强的猫的博客-CSDN博客
1. 在WSL中运行ifconfig获得IP
2. 安装SSH服务
sudo apt install openssh-server
3. 打开22端口和权限
sudo vim /etc/ssh/sshd_config,修改两项:
(1) 把Port22和进阶的几行注释去掉
(2) PasswordAuthentication no改为PasswordAuthentication yes
4. 重启SSH
sudo service ssh restart
第二步:安装启动Nsight
1. 下载安装Nsight
在