Skip to content

Instantly share code, notes, and snippets.

@thommay
Created March 2, 2011 12:04
Show Gist options
  • Save thommay/850832 to your computer and use it in GitHub Desktop.
Save thommay/850832 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