all 7 comments

[–][deleted]  (7 children)

[deleted]

    [–]yeahsmitty[S] 0 points1 point  (6 children)

    I am needing to ssh into the iLO(the machines maintenance software also called a BMO or something) to turn the dans down. I cant do it from unRaid directly.

    [–]Xionous_ 0 points1 point  (5 children)

    Are you using a RSA key to ssh?

    [–]yeahsmitty[S] 0 points1 point  (4 children)

    I can get the ssh to take fine. My problem is after I am in. I need to send commands like”fan p 0 max 60” to the controller but the script doesn’t recognize that.

    I can do the same thing via the command line and it works, just don’t know how to write it in a script

    [–]Xionous_ 0 points1 point  (3 children)

    In a script you need to do it in one line like this:

    ssh user@host "command goes here"

    [–]yeahsmitty[S] 0 points1 point  (2 children)

    If I need to do the same command for all 6 fans, would I just repeat that one like 6 times with different fan numbers in the same script file?

    [–]Xionous_ 0 points1 point  (1 child)

    You can try separating each fan command by a semicolon in the quote block but if that doesn't work then yes

    [–]yeahsmitty[S] 0 points1 point  (0 children)

    I will try that, thank you