factorial-io / phabalicious

Supports your deployments and every-day devops-tasks
http://docs.phab.io
MIT License
18 stars 3 forks source link

copySSHKeys fails on remote because of wrong assumptions where the files are stored #2

Closed stmh closed 5 years ago

stmh commented 5 years ago
[notice] cd /home/stephan && docker exec xxx_web_1 mkdir -p /root/.ssh
[notice] cd /home/stephan && docker cp /Users/stephan/dev/web/multibasebox/projects/xxx/ssh-keys/docker-root-key xxx_web_1:/root/.ssh/id_rsa
lstat /Users: no such file or directory

In CommandResult.php line 51:

  [Phabalicious\Exception\FailedShellCommandException]
  `cd /home/stephan && docker cp /Users/stephan/dev/web/multibasebox/projects/xxx/ssh-keys/docker-root-key callrequestint_web_1:/root/.ssh/id_rs
  a` failed!