Escape pubkey to prevent remote command injection on the EC2 VM