adds command to end of ssh
adds log command