NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Retired_Member's avatar
Retired_Member
Nov 12, 2018
Solved

Best practices when using ssh

Dear community, are there any you would like to recommend? A primer perhaps. Which interface best to be used (eg telnet or app in browser), etc?

Any suggestion welcomed. Thanks in advance and kind regards.


  • Marc_V wrote:

     

    from there configure a user account that will be accessing SSH.

     

     


    root can of course be used for this - and depending on what you are doing might be the only option.

     

    Personally I use putty on a PC, and log in as root.  I'm very careful on what I attempt - generally it is limited to monitoring.  If you are doing something unusual, you can install the NAS VM, and try your steps on that before you do it on the real NAS.  The VM is x86, so that won't completely model an ARM-based NAS.

     

    My main advice here is to make sure your backup is up to date, as there is some risk then using the command line.  Netgear support can deny support if they believe that your use of SSH has contributed to the problem.  You'd need to do a factory reset to regain access to paid support.

     

    Also, don't touch the flash memory.

3 Replies

Replies have been turned off for this discussion
  • Marc_V's avatar
    Marc_V
    NETGEAR Employee Retired

    Hi Retired_Member

     

    Telnet cannot be used since it's only for Support access/debugging so you are left with enabling SSH in the Admin page and from there configure a user account that will be accessing SSH.

     

    You may want to check theUser manual on page 190.

     

    Hope this helps!

     


    Regards

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      Marc_V wrote:

       

      from there configure a user account that will be accessing SSH.

       

       


      root can of course be used for this - and depending on what you are doing might be the only option.

       

      Personally I use putty on a PC, and log in as root.  I'm very careful on what I attempt - generally it is limited to monitoring.  If you are doing something unusual, you can install the NAS VM, and try your steps on that before you do it on the real NAS.  The VM is x86, so that won't completely model an ARM-based NAS.

       

      My main advice here is to make sure your backup is up to date, as there is some risk then using the command line.  Netgear support can deny support if they believe that your use of SSH has contributed to the problem.  You'd need to do a factory reset to regain access to paid support.

       

      Also, don't touch the flash memory.

      • Retired_Member's avatar
        Retired_Member

        Thanks StephenB, very helpful. I do not intend to enable ssh on my relatively new nas to not loose warranty under any circumstances. However, I have other linux workstations (eg libreelec running kodi) where I can try things out just to get more familiar (again) with good old line mode.

        Running the nas as a vm sounds also quite interesting and I will give it a try in my spare time.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More