Home/Support/Support Forum/Using plink.exe to run commands on AnywhereUSB14
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Using plink.exe to run commands on AnywhereUSB14

0 votes
Greetings!
We have multiple Digi AnywhereBCS/14 devices. We want to make regular config backups of these devices. And we want to schedule it via script.
There is CLI command for it: backup to=<IP_OF_TFTP>:digibackup.cfg passwords
I've tried to use plink.exe for executing this command via ssh:
plink --v IP -l admin -pw <password> "backup to=<IP_OF_TFTP>:digibackup.cfg passwords".
But somehow after successful authentication plink.exe enters interactive shell/command mode and doesn't executes command automatically. Usually plink.exe works well with any devices that support ssh.
Maybe something wrong with ssh in AnywhereBCS/14?
Or is there another way to make regual automated backups of Digi configs?

webpage of plink/putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Our firmware is 1.51.12.21 (build 82002081_H awusb14 eos 9/17/2013 10:29:44a)
asked Jul 31, 2014 in USB Serial by pushkin New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
contact Digi Technical support.
answered Sep 3, 2014 by sans0909 Veteran of the Digi Community (280 points)
When we bought that Digi, support was included. Now as I see to contact technical support we have to buy support additionally.
Actually for now we pipe commands for digi to plink from another cmd file. It works.
...