Logging in from One Server to the Mate’s Command Line

Sometimes it may be necessary to have access to the command line interfaces for both servers. You can log into each server separately using ssh, or you can use ssh to go back and forth between servers.

To log in from one server’s command line to the mate server’s command line, use the following procedure:

  1. Log in as any user except lsmsmgr or syscheck, using the procedure described in “Logging In to LSMS Server Command Line” to log into a server command line.
  2. Enter the following command to access the command line on the mate server:

    $ ssh mate

    If you have not previously logged into the mate, the following information displays:

    The authenticity of host 'mate (192.168.1.1)' can't be established.
    RSA key fingerprint is 1c:14:0e:ea:13:c8:68:07:3d:7c:4d:71:b1:0c:33:04.
    Are you sure you want to continue connecting (yes/no)?
    
    Type yes, and press Enter.

  3. When prompted, enter the password for the same user name.
  4. The prompt on your terminal now displays the host name of the mate server, and you can enter commands for the mate server.

    Following is an example of the sequence of commands and prompts that display during this procedure:
    [lsmsadm@lsmspri lsmsadm]$ ssh mate
    lsmsadm@mate's password:
    [lsmsadm@lsmssec lsmsadm]$