Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
$ ssh -o ServerAliveInterval=30 -i <path-to-your-private-key> sshuser@ <AWS-public-IP-address> |
...
Setting the Management Password
Before Before connecting to the Charon-SSW AWS host with the Charon Manager for the first time after the initial installation of your instance you must set the management password.
This can either be done via the Charon Manager itself (see Connecting with the Charon-SSP Manager) or via the command line as shown below.
Steps to set the management password:
- Log in to the Charon host using SSH as show above.
- Become the root user (
sudo -i
). - Change to the Charon Agent utilities directory (
cd /opt/charon-agent/ssp-agent/utils
). - Run the charon-password script (
./charon-passwd
). - Enter and confirm the new management password when prompted.
After this has been completed, you can connect to the host using the Charon Manager with the new management password.
Below, you see sample output of the steps:
Code Block | ||
---|---|---|
| ||
$ ssh -i .ssh/mykey.pem sshuser@3.86.14.26 [sshuser@ip-172-31-35-32 ~]$ sudo -i [root@ip-172-31-35-32 ~]# cd /opt/charon-agent/ssp-agent/utils [root@ip-172-31-35-32 utils]# ./charon-passwd Enter new Charon password: Retype new Charon password: Password updated successfully. Changing password for user charon. passwd: all authentication tokens updated successfully. Changing password for user sshuser. passwd: all authentication tokens updated successfully. sh: /home/charon/.vnc/passwd: No such file or directory [root@ip-172-31-35-32 utils]# |
...