Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Net::OpenSSH Problem

by salva (Monsignor)
on Sep 12, 2013 at 17:18 UTC ( #1053774=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Net::OpenSSH Problem
in thread Net::OpenSSH Problem

It runs fine outputting my current home dir

Then, you don't need to execute !bash at all.

Just run via Net::OpenSSH system (or capture?) the commands you want to run on the remote machine prefixing them by an exclamation mark.


Comment on Re^5: Net::OpenSSH Problem
Select or Download Code
Re^6: Net::OpenSSH Problem
by kburns1969 (Novice) on Sep 12, 2013 at 17:30 UTC
    Arghhhhh. I was about to respond with why this was still a problem and then realized I can execute the vendors shell and it's commands from the legacy BSHELL. These boxes (F5 LBs) have an older CLI Shell and a Newer one. To get into the newer one you would typically just run !bash and then the 'tmsh' command. From there you could run the show commands (show ltm virtual, etc). I never realized I could execute them right from the BSHELL like B>!tmsh sho ltm virtual detail Now I just need to figure out the capture part. Thanks a bunch. Hopefully you will be rid of me for now :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2014-08-20 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (116 votes), past polls