Created
June 23, 2011 16:51
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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