In the ssh-multi.py - I converted from using the exec_command to invoke_shell,send,recv paramiko api. This allowed me to actually interact routers and switches better.