Skip to content

Instantly share code, notes, and snippets.

@kensipe
Last active August 29, 2015 14:22
Show Gist options
  • Save kensipe/7a96b17dce4a77cfffd3 to your computer and use it in GitHub Desktop.
Save kensipe/7a96b17dce4a77cfffd3 to your computer and use it in GitHub Desktop.
dcos ssh into slaves

SSH steps

  1. go to aws console, filter to the name of your cluster
  2. find your master (it will be 1 with a public IP and a Security group which includes the words MasterSecurityGroup)
    1. get its public DNS
  3. add the following to ~/.ssh/config
	Host ec2-52-25-163-225.us-west-2.compute.amazonaws.com (this is your DNS)
	        Compression yes
	        ForwardAgent yes
  1. chmod 600 .pem
  2. ssh-add .pem
  3. ssh core@

need a slave

  1. ssh core@

slave sandbox: /var/lib/mesos/slave/slaves/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment