One month later, all commands works great, but now...
When I try run envoy run deploy
@servers([
'mt' => 'user@xxxx.xxxx.xxxx'
])
@task('deploy', ['on' => 'mt'])
cd /var/www/html/xxx.xxxxxx.xxxx
git pull origin dev
composer dump-autoload -o
php artisan cache:clear
@endtask
I get this error:
git:(dev) ✗ envoy run deploy
[]: Pseudo-terminal will not be allocated because stdin is not a terminal.
[]: ssh: Could not resolve hostname bash -s: nodename nor servname provided, or not known
I put the content of my id_rsa.pub
in the server authorized_keys
, and the normal login works well, for example: ssh user@xxx.xxx.xxx
- I can login without a password.
So... what I'm doing wrong?
I'm using:
- php 5.6
- zsh + oh-my-zsh
- iTerm 2
- Yosemite
If you need more details, tell me after down vote please.
Thanks.