Created
April 2, 2021 04:51
-
-
Save skounis/1b461d42ecfbf5f3a17b3be40ff794b2 to your computer and use it in GitHub Desktop.
Assign the user www-data an SSH key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir /var/www/.ssh | |
sudo chown -R www-data /var/www/.ssh | |
sudo -u www-data ssh-keygen -t rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.drupal.org/docs/8/modules/git-info-report/assign-the-user-www-data-an-ssh-key-and-add-it-to-the-remote-repo