Skip to content

SSH

非对称密钥访问

  1. 使用gitbash;
  2. 生成密钥对:ssh-kengen;
  3. 选择默认位置保存公钥私钥;
  4. 上传公钥到服务器:ssh-copy-id user@host;
  5. ssh连接:ssh user@host;

基于 MIT 许可发布