quoted SSH command and switched dependence of remote and remote-restart.