Post: ssh eat stdin of while loop

Signed-off-by: Chengwei Yang <chengwei.yang.cn@gmail.com>