-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following SSH command responded with a non zero exit status #69
Comments
Ok, I solved this one. You have to ssh into the remote server and include your username in the sudoers that don't have to type passwords. This should be mentionated in the docs, it would give people a LOT less headaches. More info in this thread: |
I still have one doubt. I was looking for a way to install all dependencies listed in my puphpet script into my remote server. But I only got my local vagrant folder rsynced to a /vagrant folder. Is this the expected result? |
Glad you solved the earlier issue, and yes it might be good to mention this
in the docs, if that was not implicitly clear.
Regarding the puphpet scripts: if they are in the same directory as the
Vagrantfile they should definitely be synced to /vagrant on the remote
host.
If they are outside of that directory you could add another synced folder
definition to also sync them:
https://www.vagrantup.com/docs/synced-folders/rsync.html
Am 09.12.2016 8:13 nachm. schrieb "Ari Mourao" <[email protected]>:
I still have one doubt. I was looking for a way to install all dependencies
listed in my puphpet script into my remote server. But I only got my local
vagrant folder rsynced to a /vagrant folder. Is this the expected result?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWUsHsui5szgT9EMjtAuzeUiBsruf76ks5rGag9gaJpZM4LJPlS>
.
|
I'm trying to provision a server with my puphpet configuration. I can link with my remote server but then I get the following error when running
vagrant provision
Bringing machine 'default' up with 'managed' provider...
==> default: The managed server is already linked.
ari@debian:~/Documents/vagrant_provision_dev_server$ vagrant provision
==> default: Rsyncing folder: /home/ari/Documents/vagrant_provision_dev_server/ => /vagrant
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mkdir -p /vagrant
Stdout from the command:
Stderr from the command:
sudo: nenhum tty presente e nenhum programa de askpass especificado
Here is my Vagrantfile:
I can ssh normally into the server with this same user and with this same id_rsa in terminal.
The text was updated successfully, but these errors were encountered: