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

Forum Discussion

Thonglin's avatar
Thonglin
Aspirant
Dec 04, 2019

SCP protocol on ReadyNAS 3138

Dear Support, I try to configure the backup from Cisco switch to ReadyNAS 3138 by SCP protocol but it failed. The error message on the switch as below: %Error writing scp://user:password@192.168.1.1/Configurations/SW-20191111.txt (Protocol error) Do you have any advice for SCP configuration on ReadyNAS 3138? The FTP is working OK. Best Regards, Thonglin

8 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    Thonglin wrote:

    Dear Support, I try to configure the backup from Cisco switch to ReadyNAS 3138 by SCP protocol but it failed. The error message on the switch as below: %Error writing scp://user:password@192.168.1.1/Configurations/SW-20191111.txt (Protocol error) Do you have any advice for SCP configuration on ReadyNAS 3138? The FTP is working OK. Best Regards, Thonglin


    You are running the SCP command on the NAS using SSH?  Or you are running the SCP command on the switch? (I'm thinking you're running it on the switch, but want to confirm).

     

    This isn't something I've ever tried.  SSH would need to be enabled for whatever account you are using on the NAS, and the path would need to include the data volume name.  It seems unlikely that the NAS IP address is 192.168.1.1???

     

    FWIW, you aren't talking to Support here. This is a community forum.  If you want to talk with paid support, you can reach them through my.netgear.com.

  • schumaku's avatar
    schumaku
    Guru - Experienced User

    Of course, SCP is workable on ReadyNAS OS6 systems. It's not a dedicated service, much more it's a default called ssh program. Said that, you need to enable the shell access for the user account on the NAS. And be aware that you can't use (e.g. for testing) the admin user -. for ssh it would be root (but that's a no-go anyway, you don't want to store the root password e.g on a switch).

     

     

    • Thonglin's avatar
      Thonglin
      Aspirant

      I would like to backup the cisco switch config to ReadyNAS 3138.

      NAS IP: 192.168.1.1/24

      User: cisco

      Password: password

      SSH is enable.

      Allow shell acess on the user is enable.

      The error message on the cisco switch as below:

      SW-VLVT-LL-3#copy running-config scp://cisco:password@192.168.1.1/Configurations/SW-Test.txt
      Address or name of remote host [192.168.1.1]?
      Destination username [cisco]?
      Destination filename [Configurations/SW-Test.txt]?
      Writing Configurations/SW-Test.txt
      %Error writing scp://*****:*****@192.168.1.1/Configurations/SW-Test.txt (Undefined error)

       

      The following backup is including path VOLUME but still not working

      SW-VLVT-LL-3#copy running-config scp://cisco:password@192.168.1.1/VOLUME/Configurations/SW-Test.txt
      Address or name of remote host [192.168.1.1]?
      Destination username [cisco]?
      Destination filename [VOLUME/Configurations/SW-Test.txt]?
      Writing VOLUME/Configurations/SW-Test.txt
      %Error writing scp://*****:*****@192.168.1.1/VOLUME/Configurations/SW-Test.txt (Undefined error)

       

      Any idea of this issue?

      • schumaku's avatar
        schumaku
        Guru - Experienced User

        Not sure from where you have the idea that /Configurations or /VOLUME/Configurations/ should be used as destination folders.

         

        ssh, scp or ftps on a ReadyNAS are not pointing to a virtual root, much more it's all referring the effective root file system. To bring the data into a shared folder (as configured for share access) use /data/[sharedfoldername]/ or for the user home folder use /home/[username] as the destination folder.

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