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.

Reply via email to