try with a different docker image, so you will be closer to where to blame

:)


On Thu, May 22, 2014 at 10:10 AM, Bruno Sutic <[email protected]> wrote:

> Thank you for the help Alvaro. Unfortunately that didn't help :(
> I still can't execute ssh command with `vagrant ssh -c "echo 'test'`
>
> Here's the full log: http://pastie.org/9197252
> Vagrantfile: http://pastie.org/9195825
> Private key for the box: http://pastie.org/9195841
>
>
> On Wednesday, May 21, 2014 11:19:47 PM UTC+2, Alvaro Miranda Aguilera
> wrote:
>>
>> not sure if you read some other posts with same issues (or was a bug?)
>>
>> As a workaround
>>
>> Try d.ssh.port=22
>>
>> or config.ssh.port=22
>>
>> in your vagrant file.
>>
>>
>>
>> On Thu, May 22, 2014 at 12:27 AM, Bruno Sutic <[email protected]> wrote:
>>
>>> Hi,
>>> here's the vagrantfile I'm using http://pastie.org/9195825
>>>
>>> And here is the private key referred in the vagrantfile: http://pastie.
>>> org/9195841
>>>
>>> Steps that work fine:
>>> $ vagrant up --provider=docker
>>> $ vagrant ssh            # logs into container, all good at this point
>>> # exit docker container
>>>
>>> Step that does *not* work:
>>> $ vagrant ssh --command "echo 'test'"
>>> # => Bad port ''
>>>
>>> $ vagrant -v
>>>
>>> Vagrant 1.6.2
>>> `vagrant ssh -c "echo 'test'"` works fine for other vms for me.
>>> Is this a bug? If not, any suggestions how to make it work? Thanks
>>>
>>> --
>>> 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].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to