Skip to content

Instantly share code, notes, and snippets.

@efueyo
Created June 28, 2017 16:56
Show Gist options
  • Select an option

  • Save efueyo/ed346e97a544845df6d67cdfa51ce1e6 to your computer and use it in GitHub Desktop.

Select an option

Save efueyo/ed346e97a544845df6d67cdfa51ce1e6 to your computer and use it in GitHub Desktop.
user_data.sh
#!/usr/bin/env bash
ssh -i ssh_key.pem [email protected] "echo $(date) >> /tmp/task.log";
halt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment