move Ssh._execute() to _trp_execute, refactor IO