
apt-get update apt-get install vim -y apt-get install openssh-server -y vim /etc/ssh/sshd_config 添加PermitRootLogin yes 添加UsePAM no 开启port 22等设置 保存 passwd root 输入密码 service ssh start2 vscode中安装remote-ssh,ctrl+shift+p搜索remote-ssh,contect 3 打开远程服务器的工程目录,搜索python:选择解释器,添加远程解释器
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)