Skip to content

Instantly share code, notes, and snippets.

@nicolabricot
nicolabricot / deployment_key.sh
Last active June 19, 2024 03:06
Creation of Git deployment key for user www-data on Debian
# let's be root
su
# go the apache folder
cd /var/www
# create folder to store keys
mkdir .ssh
chown -R www-data:www-data .ssh
# create keys