01-03-2024 01:25 AM
Hi all
I have a file that was created with the "admin show tech-support ncs1004-admin" command.
The resulting file is placed within the admin/owner plane of the device and I need to copy this file to another location.
I only have an SCP server to copy the file to, but the regular scp command is unavailable.
There is only the usual copy command, but it returns an error and I am unsure if my command is correct or something else is wrong:
sysadmin-vm:0_RP0# copy showtech-ncs1004-admin-snip.tgz scp://tempuser@10.22.20.19:/home/tempuser/
Wed Jan 3 09:20:06.390 UTC+00:00
tempuser@10.22.20.19's password:
ERROR: Error occured during copy operation, rc:256
sysadmin-vm:0_RP0#
Am I doing something wrong or is it possible to move this file to the regular non-admin context, so that I can just use Filezilla to download it as I usually do with regular files?
Thank you in advance.
Solved! Go to Solution.
01-18-2024 01:10 AM
Hello,
I think you can copy the file to the "non-admin".
Do a dir from admin mode:
dir harddisk: location 0/RP0/CPU0/VM1 -> to see the harddisk: of no-admin.
Copy the file from admin to nonadmin:
copy harddisk:/showtech/xxxxx.tgz harddisk:/showtech/xxxxx.tgz location 0/RP0/CPU0/VM1
(works on nsc5500 XR as well :-))
01-03-2024 04:04 AM
- Check (scp/ssh) logs on 10.22.20.19 when the particular copy command is tried ,
M.
01-18-2024 01:10 AM
Hello,
I think you can copy the file to the "non-admin".
Do a dir from admin mode:
dir harddisk: location 0/RP0/CPU0/VM1 -> to see the harddisk: of no-admin.
Copy the file from admin to nonadmin:
copy harddisk:/showtech/xxxxx.tgz harddisk:/showtech/xxxxx.tgz location 0/RP0/CPU0/VM1
(works on nsc5500 XR as well :-))
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide