SSH hangs when including command to execute