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...
Craig_T_232390
Nimbostratus
Thanks, but I believe it would be like twisting teeth to get any changes to the account implemented. So, if I'm getting this correctly, there is no way to suppress the prompt with this type of access?
LoyalSoldier
Aug 02, 2023Altostratus
If you only have access to tmsh you can run bash commands from that as well, assuming the account is allowed bash access. To do so:
run /util bash -c 'tmsh -q -c "show sys clock; show sys connection"'
Note this ends with a double, then single, quote.
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