better ssh_no_prompt path handling