Network and Storage Protocols

passwordless ssh to filer

TDUBB1234
29,697 Views

I am trying to ssh without password to my filers but after i generated my ssh keys, I tried to create a folder

\\filer\C$\etc$\sshd\root

it will not allow me to create a root directory

I am trying to copy this authorized_keys file to

\\filer\c$\etc\sshd\root\.ssh

help

30 REPLIES 30

RAFAEL_GUEDES
8,186 Views

Yes, this is the right path.

If you would have CIFS license, you would access through:

\\filer\C$\etc\sshd\root\.ssh\

If you have NFS license, you can access through:

mount filer_IP:/vol/vol0/etc/sshd/root/.ssh /mount_point

TDUBB1234
8,188 Views

i have no nfs or cifs license.

TDUBB1234
8,928 Views

directory permission is correct?

xxxx% ls -la /root/.ssh

lrwxrwxrwx 1 root wheel 19 Mar 16 2011 /root/.ssh -> /var/home/root/.ssh

xxxxx% cd /var/home/root

xxxxx% ls -la

total 8

drwxr-xr-x 3 root wheel 512 May 3 2007 .

drwxr-xr-x 5 root wheel 512 May 3 2007 ..

drwx

RAFAEL_GUEDES
8,928 Views

This is the output from filer in systemshell?

TDUBB1234
8,184 Views

yes it is

RAFAEL_GUEDES
8,185 Views

You are lsing /root/.ssh , but in my comment at 8:55 AM I said to put authorized_keys under:

/mroot/etc/sshd/root/.ssh

Please review my comment and make sure you did all the steps.

In time: Data ONTAP accepts only one SSH session each time, so make sure you closed any session before try to open a new session through public key.

TDUBB1234
6,783 Views

Its in there. its the correct path

xxx% pwd

/mroot/etc/sshd/root/.ssh

xxx% ls -la

total 12

drwx

bondbhola
6,783 Views

I have the same issue. after upgradation of ontap version 8, we are not able to access the filer from linux host withtout password.

I have allready shared the public key of linux host to filer. but still its aksing password.

I followd the below KB but  no success

https://kb.netapp.com/support/index?page=content&id=1010841

If anyone having solution please let me know.

Thanks in advance

aborzenkov
6,783 Views

What exactly do you call "public key of linux host"? Please describe step by step what you did.

AYAROCHKIN
6,780 Views

Thanks a lot for this info. It helped me a lot!!!

Public