Fix some ssh command syntax issues