Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.24 KB

question-summary.md

File metadata and controls

41 lines (28 loc) · 1.24 KB

Rsync SSH

  1. Host key verification failed.

    ssh-keyscan -t rsa domain.com >> ~/.ssh/known_hosts

    如果之前连接过,但是用户名被改变了,需要先执行删除操作

    ssh-keygen -R domain.com

  2. Permission denied, please try again.Permission denied, please try [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

    这是由于自动执行时没有输入密码,连续被拒绝2次后失败,只要记住密码免密登录

    ssh-keygen -t rsa 一直回车

    ssh-copy-id [email protected] 根据提示输入登录密码

    ssh [email protected] 检查是否可直接免密登录,成功即可

Cordova

  1. 构建apk时卡住,或者提示链接超时

    由于用了一些较旧的插件,gradle的Google仓库指向https://maven.google.com,这已经被废弃了,改为https://dl.google.com/dl/android/maven2,或者直接使用google()自动解析

    repositories {
      google()
      jcenter()
    }
  2. 构建apk时卡住,Download maven-metadata.xml失败 添加maven地址

    repositories {
      google()
      jcenter()
      maven{
         url 'https://www.jitpack.io'
      }
    }