Communicate between two CircleCI machines through SSH

We want to test how our product behaves when running it over ssh.

To provide some context, our product Bit is a CLI tool that can import and export components from one machine to another using SSH.
For the e2e-test, I want to be able to run two CircleCI machines. One represents the local-machine and the other is the remote machine.
Eventually, I want to test “bit export”/“bit import” from the local machine, which needs to communicate with the remote machine via ssh.

So, my question is, how do I spin up another machine with an SSH enabled, which I can connect to from the original machine.

Thanks.