Forum Discussion
khalid_k_50814
Nimbostratus
Oct 21, 2009plink syntax question?
Hello,
I am new to the F5/BIG-IP world and have been struggling with a problem for sometime. I am writing a script which needs to SSH from a WINDOWS machine and remotely send commands to the F5 server.
Below is my PLINK (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) script (it's just a 1 liner command in italics) and corresponding response:
D:\apps\extpip>plink -ssh endecaF5@140.147.132.22 -pw blah "b node 192.168.192.131 session disable"
BIGpipe parsing error:
012e0008:3: The requested command (b node 192.168.192.131 session disable) is invalid
When I manually SSH into the server and run the same command at the prompt "b node 192.168.192.131 session disable", it executes without any errors.
Can anyone please shed some light on what's going on here?
Thank you very much in advance,
8 Replies
- hoolio
Cirrostratus
Hi, - khalid_k_50814
Nimbostratus
Aaron, - hoolio
Cirrostratus
Ah, it's because your user's shell is set to bigpipe not a full shell. If you change the user's "terminal access" to Advanced Shell, it should work fine. - khalid_k_50814
Nimbostratus
- hoolio
Cirrostratus
No problem. Glad it worked for you. - Anish_Makil
Nimbostratus
- hoolio
Cirrostratus
Hi Anish, - Anish_Makil
Nimbostratus
thanks Much you re goodddddddddd, greatly appreciate the fast response
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