Skip to content

Instantly share code, notes, and snippets.

@cwjohnston
Created June 23, 2011 16:51
Show Gist options
  • Save cwjohnston/1042972 to your computer and use it in GitHub Desktop.
Save cwjohnston/1042972 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