Robert Turner - 2016-07-07

I hope someone has run into this before. One of our vbox servers has a non-standard SSH port (for other security reasons) and our phpvirtualbox version is running on docker. I can connect to and manage vbox hosts on other servers running standard SSH ports via:

docker run -it --name=VB-Robert clue/vboxwebsrv robert@192.168.1.246

I can then connect it to our phpvirtualbox version using

docker run --link VB-Robert clue/phpvirtualbox

and I can manage the virtualbox servers just fine. BUt some of our virtualbox hosts are have SSH changed to other port numbers, 222 for example.

I have tried "docker run -it --name=VB-Robert clue/vboxwebsrv robert@192.168.1.246:222"
and using -e variables like this:
docker run --name phpvbox --restart=always -p 8098:80 \ -e SRV1_PORT_222_TCP=192.168.1.15:222 -e SRV1_NAME=Server -e SRV1_USER=robert \
-d clue/phpvirtualbox

But the SSH connection to the virtualbox host fails on those using port other then 22.

Any ideas?

Thanks in advance!!