Fixed a bug in the SSH script.