Adjust private key permission + ipv4 vs ipv6