1 2 3 4 5 6 7 8 9 10
#!/bin/bash mkdir ~/.ssh chmod 700 ~/.ssh/ touch ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys cd ~ git init --bare example.git exit