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 command...
hoolio
Cirrostratus
Oct 26, 2009Hi,
I just tried using plink to disable sessions on a 10.0.1 and 9.4.6 LTM node and it worked fine. The GUI reflects the session being disabled/enabled. Which LTM version are you running? Can you run 'plink -ssh endecaF5@140.147.132.22 -pw blah "b node list" successfully?
user@host /cygdrive/c/tools/putty
$ ./plink.exe -ssh user@ltm -pw password "b node list"
node 10.41.0.21 {}
node 10.41.1.100 {}
node 10.41.135.3 {}
node 1.2.145.79 {}
node 1.2.45.100 {}
user@host /cygdrive/c/tools/putty
$ ./plink.exe -ssh user@ltm -pw password "b node 10.41.1.100 list"
node 10.41.1.100 {}
user@host /cygdrive/c/tools/putty
$ ./plink.exe -ssh user@ltm -pw password "b node 10.41.1.100 list all"
node 10.41.1.100 {
limit 0
ratio 1
dynamic ratio 1
unchecked
session enable
monitor default
screen none
partition Common
}
user@host /cygdrive/c/tools/putty
$ ./plink.exe -ssh user@ltm -pw password "b node 10.41.1.100 session disable"
Aaron
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