ssh

ssh

Used as a helper utility to wrap the default SCP tool. The tool attempts to map a given target name to an available instance, in turn attempting to map that to an accessable Public or Private IP address

Command

1
2
3
$ axe ssh -h
usage: axe-ssh <target>:<path> <path> [options]
       axe-ssh ( -h | --help )

Example Usage

Simple

1
2
3
4
$ axe ssh user@chef.dev.customer.com
2017-09-09_18:12:50,055 INFO  Attempting to resolve target chef.dev.customer.com
2017-09-09_18:12:51,060 INFO  Discovered only a Private IP
2017-09-09_18:12:51,100 INFO  Attempting connection to 10.123.45.67

Notes

  • A set of valid AWS credentials must be loaded for this to work
  • Additional options can be passed to the axe ssh tool as long as they are compatible with the SSH client itself