Table of Contents

Connecting to a Access Anywhere Node using SSH

Last updated on: October ZZ, 2021

This page is primarily intended for Linux system administrators.

An Access Anywhere instance consists of one or more Access Anywhere nodes, each of which is a Linux virtual machine. While day-to-day administration of Access Anywhere is through a web-based interface, IT administrators will occasionally need to access these nodes through the Linux command line or shell. While some hosting providers allow access to the Linux shell through the virtual machine's console it's more common to access these nodes from your local computer over a secure protocol (SSH) using an SSH Client such as “ssh”.

Prerequisites

Log in using passwords

For security, only the user “smeconfiguser” can connect remotely. Once you have logged into the node as smeconfiguser you can change to another user.

Log in as smeconfiguser using the ssh application from your desktop terminal or command line where “XXXXXXXX” is the domain name or IP address of Access Anywhere node.

$ ssh smeconfiguser@XXXXXXXX
smeconfiguser@XXXXXXXX's password: 
Last login: Thu Oct 28 09:44:52 2021 from <client_ip_address>
[smeconfiguser@appliance ~]$ 

You can then log in as root:

[smeconfiguser@XXXXXXXX ~]$ su -
Password: 
Last login: Thu Oct 28 14:09:18 UTC 2021 on pts/0
There was 1 failed login attempt since the last successful login.
root@XXXXXXXX:~ # 

## Log in using SSH key pairs

Log in to the appliance using the SSH Key Pair you created with or associated with the instance.

ssh -i "AccessAnywhere.pem" smeconfiguser@XXXXXX

Elevate to the root user (no password required). Become root

sudo su -