<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic netapp ssh with private/public keys in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/netapp-ssh-with-private-public-keys/m-p/69978#M6392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NOTE that I am still learning so I might have overlooked obvious things.&lt;/P&gt;&lt;P&gt;NOTE that the root volume is not vol0.&lt;/P&gt;&lt;P&gt;NOTE that the management station is a windows host located in the same subnet as the management interfaces for the storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure in the management guide says that I need to copy the public key to /etc/sshd/user/authorized_keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried doing this in several ways however it is not working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. using ftp&lt;/P&gt;&lt;P&gt;enabled ftp using options ftpd.access.enable on&lt;/P&gt;&lt;P&gt;Tried logging in with the root credentials: fail. I get an error that the password is invalid (I am sure it is correct).&lt;/P&gt;&lt;P&gt;To make sure I added an extra account to connect through ftp: useradmin user add test -g Administrators&lt;/P&gt;&lt;P&gt;Still the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I changed the root directory where ftp starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing I tried is using the anonymous account.&lt;/P&gt;&lt;P&gt;I enabled it.&lt;/P&gt;&lt;P&gt;Still can't access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried with restarting ftpd between changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. using cifs&lt;/P&gt;&lt;P&gt;Tried connecting from a windows machine in the same subnet.&lt;/P&gt;&lt;P&gt;Using \\storagenode\c$&lt;/P&gt;&lt;P&gt;I get a message that I can't connect.&lt;/P&gt;&lt;P&gt;It might be because I don't have a license for cifs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. using nfs&lt;/P&gt;&lt;P&gt;I have an nfs license.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I installed the Windows nfs tools.&lt;/P&gt;&lt;P&gt;I can mount the root volume.&lt;/P&gt;&lt;P&gt;I used"&lt;/P&gt;&lt;P&gt;mount -o user \\storage_node\vol\root_vol x:&lt;/P&gt;&lt;P&gt;I also tried without the user argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both&amp;nbsp; result in a successful mount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can browse the root volume.&lt;/P&gt;&lt;P&gt;Now I want to create a directory in /etc/sshd/ for the user.&lt;/P&gt;&lt;P&gt;I get permission denied in both with and without user argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried mounting with \vol\root_vol\home. THis goes successfully and I can actually write to this directory.&lt;/P&gt;&lt;P&gt;Once I am back on the console I use:&lt;/P&gt;&lt;P&gt;set priv advanced&lt;/P&gt;&lt;P&gt;THen I try the mv command to /etc/sshd/ (I am aware that I need to create a subdirectory)&lt;/P&gt;&lt;P&gt;Access denied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tried finding a command to create a directory: does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am mounting from a windows host I thought I might need a usermap.cfg file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I created this:&lt;/P&gt;&lt;P&gt;* =&amp;gt; root&lt;/P&gt;&lt;P&gt;*\root =&amp;gt; root&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need any further actions to enable this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still don't have access and I am out of ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the /etc/exports file uses sys as one of the options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help! I hope I get this solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:19:31 GMT</pubDate>
    <dc:creator>GVM666GVM</dc:creator>
    <dc:date>2025-06-05T06:19:31Z</dc:date>
    <item>
      <title>netapp ssh with private/public keys</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/netapp-ssh-with-private-public-keys/m-p/69978#M6392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NOTE that I am still learning so I might have overlooked obvious things.&lt;/P&gt;&lt;P&gt;NOTE that the root volume is not vol0.&lt;/P&gt;&lt;P&gt;NOTE that the management station is a windows host located in the same subnet as the management interfaces for the storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure in the management guide says that I need to copy the public key to /etc/sshd/user/authorized_keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried doing this in several ways however it is not working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. using ftp&lt;/P&gt;&lt;P&gt;enabled ftp using options ftpd.access.enable on&lt;/P&gt;&lt;P&gt;Tried logging in with the root credentials: fail. I get an error that the password is invalid (I am sure it is correct).&lt;/P&gt;&lt;P&gt;To make sure I added an extra account to connect through ftp: useradmin user add test -g Administrators&lt;/P&gt;&lt;P&gt;Still the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I changed the root directory where ftp starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing I tried is using the anonymous account.&lt;/P&gt;&lt;P&gt;I enabled it.&lt;/P&gt;&lt;P&gt;Still can't access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried with restarting ftpd between changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. using cifs&lt;/P&gt;&lt;P&gt;Tried connecting from a windows machine in the same subnet.&lt;/P&gt;&lt;P&gt;Using \\storagenode\c$&lt;/P&gt;&lt;P&gt;I get a message that I can't connect.&lt;/P&gt;&lt;P&gt;It might be because I don't have a license for cifs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. using nfs&lt;/P&gt;&lt;P&gt;I have an nfs license.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I installed the Windows nfs tools.&lt;/P&gt;&lt;P&gt;I can mount the root volume.&lt;/P&gt;&lt;P&gt;I used"&lt;/P&gt;&lt;P&gt;mount -o user \\storage_node\vol\root_vol x:&lt;/P&gt;&lt;P&gt;I also tried without the user argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both&amp;nbsp; result in a successful mount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can browse the root volume.&lt;/P&gt;&lt;P&gt;Now I want to create a directory in /etc/sshd/ for the user.&lt;/P&gt;&lt;P&gt;I get permission denied in both with and without user argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried mounting with \vol\root_vol\home. THis goes successfully and I can actually write to this directory.&lt;/P&gt;&lt;P&gt;Once I am back on the console I use:&lt;/P&gt;&lt;P&gt;set priv advanced&lt;/P&gt;&lt;P&gt;THen I try the mv command to /etc/sshd/ (I am aware that I need to create a subdirectory)&lt;/P&gt;&lt;P&gt;Access denied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tried finding a command to create a directory: does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am mounting from a windows host I thought I might need a usermap.cfg file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I created this:&lt;/P&gt;&lt;P&gt;* =&amp;gt; root&lt;/P&gt;&lt;P&gt;*\root =&amp;gt; root&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need any further actions to enable this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still don't have access and I am out of ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the /etc/exports file uses sys as one of the options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help! I hope I get this solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:19:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/netapp-ssh-with-private-public-keys/m-p/69978#M6392</guid>
      <dc:creator>GVM666GVM</dc:creator>
      <dc:date>2025-06-05T06:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: netapp ssh with private/public keys</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/netapp-ssh-with-private-public-keys/m-p/69983#M6393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all I must say I'm astonished not a single thing has been answered here.&lt;/P&gt;&lt;P&gt;I believed that this forum was more useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Point 2 is clear to me know. Although nobody did confirm it, not being able to connect to the administrative C$ share is because I don't have a license for CIFS.&lt;/P&gt;&lt;P&gt;Which in some way I understand. However it's strange that the manual assumes you have either an NFS or CIFS license.&lt;/P&gt;&lt;P&gt;Nowhere in the documentation it's clear that without this license you can't do this(it's like Netapp forces you to buy a protocol license, otherwhise you can't manage your filer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for point 3: I believe this to be an issue with mappings.&lt;/P&gt;&lt;P&gt;It should work. Administrator should automatically map to root user IIRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end I got this resolved by mounting the volume through NFS(on this filer we have an NFS license).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll keep this thread for what it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 09:23:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/netapp-ssh-with-private-public-keys/m-p/69983#M6393</guid>
      <dc:creator>GVM666GVM</dc:creator>
      <dc:date>2013-02-01T09:23:09Z</dc:date>
    </item>
  </channel>
</rss>

