Question

Plink doesn't send command

  • 8 February 2021
  • 1 reply
  • 47 views

Hello,

 

I am trying to make a script that logs in to SSH of the WiNG controller and copies the running config to an FTP server. The problem is that it hangs at “Started a shell/command”. This is my command:

plink <ip> -l admin -pw <password> -v (enable;copy startup-config ftp://:@:21/Data/config.sh)

 

Piping “echo enable” to plink does work, but that has a limit of only one command (unless someone knows some batch magic, that would be nice).


1 reply

If more information is needed please let me know.

Reply