The official website for the Apache Software Foundation was taken offline for several hours on Friday after being compromised by an SSH key.