Setup Git deployment on push to remote origin with post-update hook

Git

1. Generate SSH keys pair. Use ssh-keygen command to generate SSH keys pair. Example usage: $ ssh-keygen -t rsa -b 4096 -C “taras@shkodenko.com” Generating public/private rsa key pair. Enter file in which to save the key (/home/tarasius/.ssh/id_rsa): 2. Setup SSH key authorization. To setup autorization by SSH key add contents of your public key ($HOME/.ssh/id_rsa.pub) … Continue reading Setup Git deployment on push to remote origin with post-update hook