VScode免密(windows)

windows端cmd里头ssh-keygen生成公钥和私钥

公钥(id_rsa.pub)复制到服务器的.ssh文件夹下,改名为authorized_keys

chmod 755 authorized_keys