LockedSSH Login

Author
brat052
New Member
  • Total Posts : 2
  • Reward points: 0
  • Joined: 2008/11/10 15:21:59
  • Status: offline
2012/04/18 11:35:49 (permalink)

SSH Login

Hi

I want to logoon to a chassis controller, and poll for a temperature:

For example:

tmorrison@thomas-Minty11 ~ $ ssh -l root 10.160.9.10
root@10.160.9.10's password:

Welcome to the CMC firmware version 2.30.A00.201001151051

$ getsensorinfo

<senType> <Num> <sensorName> <status> <reading> <units> <lc> <uc>
FanSpeed 1 Fan-1 OK 6695 rpm 1000 14500
FanSpeed 2 Fan-2 OK 6566 rpm 1000 14500
FanSpeed 3 Fan-3 OK 6454 rpm 1000 14500
FanSpeed 4 Fan-4 OK 6650 rpm 1000 14500
FanSpeed 5 Fan-5 OK 6683 rpm 1000 14500
FanSpeed 6 Fan-6 OK 6489 rpm 1000 14500
FanSpeed 7 Fan-7 OK 6579 rpm 1000 14500
FanSpeed 8 Fan-8 OK 6580 rpm 1000 14500
FanSpeed 9 Fan-9 OK 6562 rpm 1000 14500

<senType> <Num> <sensorName> <status> <reading> <units> <lc> <uc>
Temp 1 Ambient_Temp OK 16 celcius N/A 40

<senType> <Num> <sensorName> <status> <AC-OK status>
PWR 1 PS-1 Online OK
PWR 2 PS-2 Online OK
PWR 3 PS-3 Online OK
PWR 4 PS-4 Online OK
PWR 5 PS-5 Online OK
PWR 6 PS-6 Online OK
$

I want to check that the temp is 16.

I am struggling with the code syntax - I was wondering if anyone else has used this addin to SSL into a box and retrieve results.

-thomas

Thomas Morrison
#1

1 Reply Related Threads

    IPSentrySupport
    Support Guy
    • Total Posts : 2079
    • Reward points: 0
    • Joined: 2006/05/16 21:55:52
    • Status: offline
    RE: SSH Login 2012/04/18 11:56:40 (permalink)
    The TCP Script add-in does not support SSH or SSL of connection. It is a raw TCP scripting function.

    ---
    IPSentry Support
    RGE, Inc.
    http://www.ipsentry.com
    http://forum.ipsentry.com

    IPSentry® is a Registered Trademark of RGE, Inc.
    #2
    Jump to:
    © 2024 APG vNext Commercial Version 5.5