It is not perfect, one can still enter "/sudo::/bin/sh" when `default-directory' is "/ssh::". But I wouldn't count this as mistake, it would be rather a "user error by intention" :-) Best regards, Michael.