Skip to content

Instantly share code, notes, and snippets.

@pcdinh
Forked from kylewest/trystack.markdown
Created February 22, 2012 19:09
Show Gist options
  • Save pcdinh/1886693 to your computer and use it in GitHub Desktop.
Save pcdinh/1886693 to your computer and use it in GitHub Desktop.
TryStack in 8 Simple Steps

TryStack in 8 Simple Steps

  1. Head over to trystack.org then join the facebook group to get your invite.
  2. When you get the (Somebody) approved your request to join the group TryStack notification, go login to trystack (click login using facebook and approve with facebook).
  3. Click the Security Groups tab, click Edit Rules, and add a couple rules:
    1. imcp, from port: -1, to port: -1, cidr: 0.0.0.0/0
    2. tcp, from port: 22, to port: 22, cidr: your.ip.address.here/32
  4. Click the Keypairs tab, then click Add New Keypair, name it trystack. A file will download to your computer.
  5. Click the Images tab, then click Launch next to one of the images. Fill out the form and make sure to select trystack as your Key Name and include default in the Security Groups. Click launch instance. Note the IP address you are assigned.

On your computer

  1. Open your terminal and move trystack.pem to ~/.ssh/trystack.pem.
  2. Run chmod 600 ~/.ssh/trystack.pem.
  3. Run ssh -i ~/.ssh/trystack.pem [email protected].

Notes

  1. CIDR means classless inter-domain routing. Basically 0.0.0.0/0 allows all IP addresses. 1.2.3.4/32 allows only 1.2.3.4.
@birdjumper
Copy link

Hi
In debug mode I'm getting the message "Roaming not allowed by server", then Permission denied (publickey).

Here's the debug session:
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to port 22.
debug1: Connection established.
debug1: identity file /home/username/.ssh/id_rsa type -1
debug1: identity file /home/username/.ssh/id_rsa-cert type -1
debug1: identity file /home/username/.ssh/id_dsa type -1
debug1: identity file /home/username/.ssh/id_dsa-cert type -1
debug1: identity file /home/username/.ssh/id_ecdsa type -1
debug1: identity file /home/username/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/username/.ssh/id_ed25519 type -1
debug1: identity file /home/username/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3 pat OpenSSH_6.6.1* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr [email protected] none
debug1: kex: client->server aes128-ctr [email protected] none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA ae:02:e8:aa:ac:ec:1c:73:fb:c0:15:00:33:15:cf:7c
debug1: Host '' is known and matches the ECDSA host key.
debug1: Found key in /home/username/.ssh/known_hosts:3
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/username/.ssh/id_rsa
debug1: key_parse_private2: missing begin marker
debug1: read PEM private key done: type RSA
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/username/.ssh/id_dsa
debug1: Trying private key: /home/username/.ssh/id_ecdsa
debug1: Trying private key: /home/username/.ssh/id_ed25519
debug1: No more authentication methods to try.

Any ideas?

Thanks

@MansouriHana
Copy link

MansouriHana commented Dec 11, 2016

image

Someone help me please !!
why this error !!!

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