added -Ty for yaml output and fixed a bug when using openssh connection method with exec and $_ somewhere