Hi finally we have solution now.
We just created a very powerful rancher ssh cli to get this done:
https://github.com/fangli/rancherssh
Native SSH Client for Rancher Containers, provided a powerful native terminal to manage your docker containers.
You may want to give it a try, stars are welcome!