Skip to content

Instantly share code, notes, and snippets.

@weavenet
weavenet / ssh_wrapper.sh.erb
Created January 17, 2012 06:15 — forked from cwjohnston/ssh_wrapper.sh.erb
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