update 2015-06-01:
docker exec process would be killed on channel closing.
This is the client for docker container ssh login.
sudo ./dockerConnector -d
ssh <container ID>@<remote address> -p 2222
We've disabled password authentication by modifying ssh package in Godeps for convenient container login. If you want to verify password while login, please change ssh packages in Godeps to official packages(https://github.com/golang/crypto) and modify passwordCallback in connector.go.