Forum Discussion
Craig_T_232390
Nov 03, 2015Nimbostratus
Using Plink to run multiple commands
I have a fairly complex script which is trying to consolidate data into a text file using the following command:
c:\tools\plink.exe -batch ltmops@%IP% -pw ******* -m a.txt >tempA.txt
a port...
arpydays
Nov 03, 2015Nimbostratus
that's because you are connecting to the TMSH shell and not bash. The easiest solution would be to allow the ltmops user to connect to advanced shell (bash) in System-Users but this assumes local auth, if you are using remote auth it may be a bit more difficult.
cheers
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects