3 # Demonstrates using get_instance_name to ssh to an instance at a hostname
4 # Call this script with one argument, the name of the node you want to ssh
6 # fill in all ow the following wiht your info
11 $KEY=pathname_to_my_ssh_key
12 $PROGRAM=/home/smbaker/projects/vicci/plstackapi/planetstack/tools/get_instance_name.py
14 INSTANCE_NAME=`python $PROGRAM $USERNAME $PASSWORD $1 $SLICENAME`
15 ssh-agent bash -c "ssh-add $KEY; ssh -A $INSTANCE_NAME@$1"