The gateway has two user accounts: admin and ruser. Both accounts help in activities related to administrative, configuration, and basic troubleshooting.

  • Administration User (admin): An admin can access the gateway Web interface and command-line interface for administration activities.

    These activities include credentials configuration, gateway registration, date and time change, and network settings.

    This account does not provide shell access to the gateway appliance.

  • System User (ruser): An ruser can access the gateway command-line interface with sudo privileges to do basic troubleshooting activities, such as accessing the gateway log files, ping, and SNMP walk. A system user can also access a gateway directly using key-based authentication.

Change passwords

The default passwords for admin and ruser accounts are available from the console. Navigate to Setup, Download, and click Gateway to access password settings.

All users must change the default password during the first login. Passwords can be changed using the command-line interface or the gateway web interface.

Change password using the command line

  1. Using SSH, log into the gateway command-line interface with your username and password.
  2. Follow the menu options to change the password.

Change password using the web interface

  1. From your browser, log into gateway https://<gatewayip>:5480, using your credential.
  2. Follow instructions in the web interface to change your password.

All users must change the default password at the first login.

Enable key-based authentication

Key-based authentication is allowed only for the system user. This authentication helps the ruser to log into the gateway with a private key instead of a password. A public key and a private key combination are used to authenticate the login.

If key-based authentication is enabled for the system user, the password-based login is disabled. Passwords can be reset to the default settings.

  1. Log into your Linux computer and open a terminal.

  2. At the shell prompt and enter: ssh-keygen -t rsa, which prompts for the key file location.

  3. Press Enter to accept the default location.

  4. Optionally, specify a passphrase to protect your key material.

  5. Press Enter to omit the passphrase. The output of the program is displayed as below.

        Enter file in which to save the key (/Users/user1/.ssh/id_rsa):
        Created directory '/Users/user1/.ssh'.
        Enter passphrase (empty for no passphrase):
        Enter the same passphrase, again:
        Your identification is saved in /Users/user1/.ssh/id_rsa.
        Your public key is saved in /Users/user1/.ssh/id_rsa.pub.
        
  6. Open the id_rsa.pub file and copy the content. Make sure to copy the public key properly without any space at the beginning or end.

  7. In the gateway web user interface, go to the Password page.

  8. Paste the public key in the Provide Public Key box for the Appliance System user.

  9. Click Save.

The gateway is enabled with the key-based login.

Always keep your private key in a safe place to access the gateway as a system user.

Restrict SSH login access

If a user attempts five consecutive logins with invalid credentials, the gateway restricts SSH login for ruser and admin users. The restriction persists for 30 minutes and the gateway user account is locked. During the 30-minute interval, even valid login credentials are not accepted.