下用ssh-keygen 生成公钥和秘钥: ssh-keygen.exe -t rsa
可以一直enter,选择默认
3. 将公钥文件内容追加到authorized_keys文件中
cat ../id_rsa.pub >>authorized_keys
注:如果~/. ssh 目录下不存在authorized_keys文件手动添加:
touch authorized_keys
4.设置vscode免密登录配置,点击VSCode左下角的SSH连接图标,选择“open SSH configuration file”,增加Linux服务器信息
5.修改权限
chmod 700 .ssh
chmod 600 .ssh/authorized_keys
1. 包内函数参数自动提示2.
vscode 连接服务器远程开发配置:
配置服务器.vscode-server: https://blog.csdn.net/mc_pang/article/details/123078089
免密登录: https://zhuanlan.zhihu.com/p/435920513
连接ssh一直连接不上去,转圈圈
https://blog.csdn.net/weilin731/article/details/119778478
3. conda 配置 vscode
3.1 windows环境下vscode的终端设置为conda终端
https://blog.csdn.net/nick_young_qu/article/details/104846996?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_paycolumn_v3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_paycolumn_v3&utm_relevant_index=2
3.2 VScode连接始终报错 Downloading VS Code Server failed - please install either curl or wget on the
https://blog.csdn.net/qq_40605972/article/details/122009226
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)