vagrant ssh -c 'ls -al' Alvaro
On Fri, Sep 1, 2017 at 4:43 PM, Brandon Sussman <[email protected]> wrote: > vagrant ssh > > works - connects me as user vagrant > > vagrant ssh -c ls > > does the exact same thing - connects me as user vagrant, does not execute > the command. > > Why? > > Verbatim from doc: This should 'execute a single SSH command, prints out > the stdout and stderr, and exit'. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/vagrant-up/1d3aa196-5458-4482-962f-ca3750be3d83%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/1d3aa196-5458-4482-962f-ca3750be3d83%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezcCXh-_kd%2BphMkxP%2BJQp1_trX06%3DUDb7ULj%2BCzmcyuiQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
