使用VSCode访问Linux服务器文件

首先确保本机安装了openSSH,打开cmd输入ssh,能运行就说明安装了,至于使用ssh-keygen生成密钥免密码登陆什么的和平时一样。

然后在服务器安装rmate脚本(项目地址:https://github.com/aurora/rmate):

sudo wget -O /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/master/rmate
sudo chmod a+x /usr/local/bin/rmate
Read More »