This file contains hidden or 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
$ cat /.ssh/config | |
Host * | |
ServerAliveInterval 60 | |
StrictHostKeyChecking no | |
UserKnownHostsFile /dev/null | |
Host nat*.eu1.dev.foo.bar.com | |
ProxyCommand none | |
IdentityFile /Users/foo/.ssh/id_dsa_bar | |
User ec2-user |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
boxes = { | |
:tomcat => { | |
:ipaddress => "172.31.254.110", | |
:role => "application" | |
}, | |
:mysql => { | |
:ipaddress => "172.31.254.120", |
This file contains hidden or 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
#!/usr/bin/env perl | |
# | |
# Usage: ssh-deploy-key -h (--hostsfile) PATH_TO_HOSTS_FILE | |
# -p (--pubkeyfile) PATH_TO_PUBKEY_FILE | |
# [ -u (--user) USER ] | |
# | |
# Expects --hostsfile to contain 1 host per line | |
# Assumes current user if --user is not given | |
# |
NewerOlder