A sample ssh server for testing ssh connection
# add the -d flag to run it in background
docker-compose up --build
-l
is the user to login as-p
is the port to connect to-i
is the identity file (SSH private key) to use
ssh -l root -p 2222 -i ssh/id_rsa 127.0.0.1
docker-compose down