Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Forked from thommay/github.rb
Created March 2, 2011 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrchrisadams/850836 to your computer and use it in GitHub Desktop.
Save mrchrisadams/850836 to your computer and use it in GitHub Desktop.
file "#{params[:home]}/.ssh/config" do
owner params[:user]
group params[:user]
content <<-EOH
Host github.com
IdentityFile ~/.ssh/github
IdentitiesOnly yes
StrictHostKeyChecking no
EOH
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment