Open oblank opened 8 years ago
Did you try the following commands?
$ docker exec -i parse-server ssh-add-key < ~/.ssh/id_rsa.pub # add ssh-key for auth
$ git clone ssh://git@localhost:2022/parse-cloud-code # clone via specific port of ssh
yes, but useless the difference is my docker instance is running on a remote server, and ssh-key is my local Mac's git command be run on my local machine.
Steps of git deploy on remote:
$ ssh-keygen
$ cat ~/.ssh/id_rsa.pub
$ echo "ssh-rsa AAAAB3...XXX== your@mac" | docker exec -i parse-server ssh-add-key
$ git clone ssh://git@{docker-host-ip}:2022/parse-cloud-code
same error. finally I run docker instance on local machine, success with no any strange error. confused
thx.
➜
I change repository URL to git@121.xx.xxx.5:2022/parse-cloud-code , no prefix ssh://