NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Thonglin
Dec 04, 2019Aspirant
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
- StephenBGuru - 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.
- schumakuGuru - 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).
- ThonglinAspirant
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?
- schumakuGuru - 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.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!