Skip to content

Commit

Permalink
Update ssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Jan 17, 2015
1 parent a682768 commit 4c46b2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ node_js:
- "0.10"

before_install:
- openssl aes-256-cbc -K $encrypted_06b8e90ac19b_key -iv $encrypted_06b8e90ac19b_iv -in ssh_pub.enc -out ~/.ssh/id_rsa.pub -d
- 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*
- openssl aes-256-cbc -K $encrypted_06b8e90ac19b_key -iv $encrypted_06b8e90ac19b_iv -in ssh_key.enc -out ssh_key -d
- chmod 600 ssh_key
- eval $(ssh-agent)
- ssh-add ~/.ssh/id_rsa
- ssh-add ssh_key
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- git config --global user.name "Tommy Chen"
- git config --global user.email [email protected]
Expand Down
Binary file modified ssh_key.enc
Binary file not shown.
4 changes: 0 additions & 4 deletions ssh_pub.enc

This file was deleted.

0 comments on commit 4c46b2b

Please sign in to comment.