Add ssh utils
Use the ssh utils in launch_cmd
Fix ssh utils and implement ssh_cmd