sudo require and key fix