How to move a file from one Netscaler to another via CLI using SCP.
book
Article ID: CTX582626
calendar_today
Updated On:
Description
Understand how to utilize the SCP command to move a file from one ADC to another via CLI.
Instructions
In a use case where we'd want to obtain a file and it is already present on another ADC, which is reachable.
We can move a file with the SCP protocol by applying the following:
- Log into CLI.
- Move to Shell mode.
- Execute the command: scp <source-file> <username>@<destination-IP>:<destination-path>
In this example we will move a file named "adc.version" in ADC03 but renaming it as "testfile.log"
The command will look like this:
- scp adc.version nsroot@10.xx.xx.xx:/var/nsinstall/testfile.log
- After which, you will be prompted for the password of the destination ADC, in this case, ADC01.

After we move the file, we can see the file was successfully transferred to the destination ADC and renamed as testfile.log:

The opposite effect of pulling a file from another device can be accomplished by flipping the order of the command, as follows:
- scp <username>@<source-IP>:<source-file> <destination-path>
Was this article helpful?
thumb_up
Yes
thumb_down
No