Skip to content

Commit

Permalink
Start ssh-agent before ssh-add
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Jan 17, 2015
1 parent c36dd5b commit f20c931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ before_install:
- openssl aes-256-cbc -K $encrypted_06b8e90ac19b_key -iv $encrypted_06b8e90ac19b_iv
-in ssh_key.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa
- eval $(ssh-agent)
- ssh-add ~/.ssh/id_rsa
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- git config --global user.name "Tommy Chen"
Expand Down

0 comments on commit f20c931

Please sign in to comment.