Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. To toggle password based SSH access for users to log in to the MSA:

    • Edit the file /etc/ssh/sshd_config.

    • Set the PasswordAuthentication option to “yes” or “no”

    • Restart the sshd service using the command: service sshd restart.

  2. Additional SSH public keys can be manually appended to the file /root/.ssh/authorized_keys or added by using the script ssh-copy-id.

  3. If the directory or the file does not already exist, either can be manually created using the following commands:

    mkdir /root/.ssh
    echo “” >> /root/.ssh/authorized_keys
    chmod 600 /root/.ash/authorized_keys
    chmod 700 /root/.ssh/

    External references:
    man sshd_config – https://man7.org/linux/man-pages/man5/sshd_config.5.html
    man ssh-copy-id – https://www.unix.com/man-page/linux/1/SSH-COPY-ID/
    man sshd – https://man7.org/linux/man-pages/man8/sshd.8.html

Info

Note: The directory must have access mode 700. The file must have access mode 600.

Enable SSH on the MSA

Follow these steps to enable SSH on a Management Server Appliance.

...

Log in to the MSA appliance web console.

...

Edit the sshd config file:

  • vi /etc/ssh/sshd_config

...

Enable root login:

  • PermitRootLogin

Restart the sshd service:

...

Note

If you need assistance managing SSH on the MSA, contact JetStream Support.