Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
TOCTOC
Include Page
KBCOMMON:KB-CSSstyleKBCOMMON:KB-CSSstyle

During the configuration of your instance you should have created a security group allowing at the minimum SSH access to the instance. If this has been done correctly, you can use SSH from the command-line or from a tool such as PuTTY to access the command-line of the sshuser user on the Charon-SSP instance. If you select your instance in the instance list and then click on Connect, you will see the instructions for connecting via SSH.

In particular, you will see

  • the name of the private key that must be used to connect to the instance, and
  • the public DNS name of the instance.

The following image shows an example:

Image Removed

(warning) Note that the file permissions of the private key file must be set such that the file is only readable by the user. In the sample output above, the permissions are set to 400. This means that the only access is read-access by the user.

...

classpagebreak

To connect to the instance interactively, you must connect as the user sshuser. Use the following command:

...

The parameter ServerAliveInterval will protect the connection from timing out.

Below, you see sample output of a login:

Code Block
languagetext
$ ssh -o ServerAliveInterval=30 -i ./we-test-key2.pem sshuser@3.81.64.139
Last login: Tue May 21 05:34:33 2019 from myhost.example.com
[sshuser@ip-172-31-38-252 ~]$ pwd
/home/sshuser

(warning) Note that this account allows root access to a limited subset of commands (use sudo -i). In particular, commands that are required to create more complex network configurations are allowed.

Include Page
KBCOMMON:DOC-GoToTocKBCOMMON:DOC-GoToTocPDC:__Include: Initial Charon Instance Access (short version)
PDC:__Include: Initial Charon Instance Access (short version)