Netrc is probably not expecting "[::1]" for ipv6 addresses.