Hello All,
I have the following system below:
VERSION=NetApp Release 8.2.4P6 7-Mode: Wed Jan 11 01:07:08 PST 2017
SYSTEM_ID=05369xxxxx
SERIAL_NUM=451438xxxxxx
HOSTNAME=fasinfxxxxxx
We are trying to setup SSH authentication with Linux. We have the following old KB and info but it appears to have been removed:
**** Linux ****
https://kb.netapp.com/support/index?page=content&id=1010841
Linux> ssh-keygen -t rsa
When asked for a 'passphrase', do not enter one. Just press Enter twice (or 3 times)
7-Mode
Linux> ssh root@filer vol status # it will ask for a password, but confirm ssh connectivity
Linux> mount filer:/vol/vol0 /mnt/filer
Linux> mkdir -p /mnt/etc/sshd/.ssh
Linux> cat ~/.ssh/id_rsa.pub >> /mnt/etc/sshd/root/.ssh/authorized_keys
Linux> chmod 700 /mnt/etc/sshd/root/.ssh
Linux> chmod 600 /mnt/etc/sshd/root/.ssh/authorized_keys
Linux> ssh root@filer vol status # test command out passwordless
++
We tested this on our system but without success:
ssh-keygen -t rsa
ssh root@fasinfxxxxxx-lvif0-xx.abcdefg.xyz vol status
mkdir /mnt/fasinfxxxxxx-lvif0-xx.abcdefg.xyz
mount fasinfxxxxxx-lvif0-xx.abcdefg.xyz:/vol/vol0 /mnt/fasinfxxxxxx-lvif0-xx.abcdefg.xyz
mkdir -p /mnt/fasinfxxxxxx-lvif0-xx.abcdefg.xyz/etc/sshd/.ssh
chmod 700 /mnt/fasinfxxxxxx-lvif0-xx.abcdefg.xyz/etc/sshd/root/.ssh
chmod 600 /mnt/fasinfxxxxxx-lvif0-xx.abcdefg.xyz/etc/sshd/root/.ssh/authorized_keys
ssh root@fasinfxxxxxx-lvif0-xx.abcdefg.xyz
Can anyone advise if they have the steps for setting up SSH keys on Linux ?