Skip to content

Instantly share code, notes, and snippets.

@weavenet
Forked from cwjohnston/ssh_wrapper.sh.erb
Created January 17, 2012 06:15
Show Gist options
  • Save weavenet/1625118 to your computer and use it in GitHub Desktop.
Save weavenet/1625118 to your computer and use it in GitHub Desktop.
an example ssh wrapper script to be used with the chef deploy resource
#!/bin/bash
ssh -i<%= @node[:deploy][:key_path] %>/<%= @appname %>_deploy_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $1 $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment