Configuring SSH Login without Password

Note

Before you begin ensure that you have configured SSH login without password.

By default, Secure Socket Shell (SSH) requires a password for authentication on a remote server. This setting needs to be modified to allow you to login to the remote host through the SSH protocol, without having to enter your SSH password multiple times when working with SnappyData.

To install and configure SSH, do the following:

  1. Install SSH
    To install SSH, type:
    sudo apt-get install ssh
    Mac OS X has a built-in SSH client.

  2. Generate an RSA key pair
    To generate an RSA key pair run the following command on the client computer,
    ssh-keygen -t rsa
    Press Enter when prompted to enter the file in which to save the key, and for the pass phrase.

  3. Copy the Public Key
    Once the key pair is generated, copy the contents of the public key file, to the authorized key on the remote site, by typing cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys