CharlieC3
8/23/2016 - 3:16 PM

Run commands remotely on another machine

Run commands remotely on another machine

#!/bin/bash
ssh -T -i $AUTODEPLOY_SSHKEY $AUTODEPLOY_USER@$TRGT_HOST << EOSSH

# Stuff goes here

EOSSH