Add "-e none" to ssh slave for non-interactive sessions.