Use os.execv instead of subprocess.call for ssh.