- Head over to trystack.org then join the facebook group to get your invite.
- When you get the
(Somebody) approved your request to join the group TryStack
notification, go login to trystack (clicklogin using facebook
and approve with facebook). - Click the
Security Groups
tab, clickEdit Rules
, and add a couple rules:- imcp, from port: -1, to port: -1, cidr: 0.0.0.0/0
- tcp, from port: 22, to port: 22, cidr: your.ip.address.here/32
- Click the
Keypairs
tab, then clickAdd New Keypair
, name ittrystack
. A file will download to your computer. - Click the
Images
tab, then clickLaunch
next to one of the images. Fill out the form and make sure to selecttrystack
as yourKey Name
and includedefault
in theSecurity Groups
. Clicklaunch instance
. Note the IP address you are assigned.
- Open your terminal and move
trystack.pem
to~/.ssh/trystack.pem
. - Run
chmod 600 ~/.ssh/trystack.pem
. - Run
ssh -i ~/.ssh/trystack.pem [email protected]
.
- CIDR means classless inter-domain routing. Basically
0.0.0.0/0
allows all IP addresses.1.2.3.4/32
allows only1.2.3.4
.
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