knowplace.org

Adding SSH public keys to Netapp filers


This document describes the method for enabling SSH public key authentication to Netapp filers.

To verify SSH status:

  • connect to the console and run:
    netapp> secureadmin status
    ssh2 - inactive
    ssh1 - inactive
    ssl - inactive
  • if SSH hasn't been set up, run (and follow the prompts):
    netapp> secureadmin setup ssh
  • otherwise, enable ssh2 by:
    netapp> secureadmin enable ssh2

 

Copy the SSH public keys:

  • mount the FAS root (/) filesystem (e.g. if the root (/) filesystem is shared via CIFS as "C$"):
    ~# mount -t cifs //netapp/c$ /path/mountpoint -o user=myuser
  •  create the directories if necessary:
    ~# mkdir -p /path/mountpoint/etc/sshd/root/.ssh
  • copy or create the "authorized_keys" file:
    ~# cp .ssh/authorized_keys /path/mountpoint/etc/sshd/root/.ssh/ 
 
Shane Tzen © 2010