I have to write test for deployment script which uploads files through SSH, but I'd like to have it not depending on external servers configuration. This is how i see it:
- Create 2 SSH daemons without authenication on different ports of loopback interface.
- Run the deployment script on these two ports
The only question is how to run these dummy SSH daemons.
I use Python and Fabric.