Fix ssh via stdin problem;