Fixed stdout for ssh