Revert "made ssh stdin a pipe"

This reverts commit a4581c4c46540e0a2fdebee0421559f8f915e560.