Access to PAN with '#' in the password is failing due to
The '#' needs to be replaced with '%23' when entering it in the HTTPs credentials.
For example: "pass#ord" should be entered as "pass%23ord"
The SSH password should be entered as-is with the '#' (i.e. "pass#ord")