执行 git clone git@github.com:wepyjs/wepy-weui-demo.git
vagrant@homestead:~/code$ git clone git@github.com:wepyjs/wepy-weui-demo.git
Cloning into 'wepy-weui-demo'...
The authenticity of host 'github.com (13.250.177.223)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,13.250.177.223' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
vagrant@homestead:~/code$ git clone git@github.com:wepyjs/wepy-weui-demo.git
Cloning into 'wepy-weui-demo'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
vagrant@homestead:~/code$
这是因为你没配置github的sshkey ,配置可以参考http://wiki.jikexueyuan.com/p...
如果不想配置,可以使用https协议,https://github.com/wepyjs/wep...