vscode-ssh免密链接 问题每次使用ssh连接服务器的时候会进行多次的密码的输入这很烦人。解决方法在C盘根目录C:\Users\用户名运行命令cd .ssh运行命令生成密钥对ssh-keygen查看公钥type id_ed25519.pub能看到一长串以这个开头的内容ssh-ed25519 AAAAC3NzaC1lZDI1NTE5…上传公钥type “%USERPROFILE%.ssh\id_ed25519.pub” | ssh rootIP “umask 077; mkdir -p ~/.ssh cat ~/.ssh/authorized_keys chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys”后续还需要输入一次密码后面就不需要密码输入了