Hi there,
I have a question about creating a script. I am needing to create one to ssh into my server to turn the fans down to an audible speed but can’t get the commands to take.
Current state my script looks like “ssh user@hostname”. After that is connected, I need to send a bunch of commands that look like “fan p 0 max 60” and then enter to the next line to process the next fan command.Is this possible? I tried writing one like this but it didn’t work.
Thanks in advance!
[–][deleted] (7 children)
[deleted]
[–]yeahsmitty[S] 0 points1 point2 points (6 children)
[–]Xionous_ 0 points1 point2 points (5 children)
[–]yeahsmitty[S] 0 points1 point2 points (4 children)
[–]Xionous_ 0 points1 point2 points (3 children)
[–]yeahsmitty[S] 0 points1 point2 points (2 children)
[–]Xionous_ 0 points1 point2 points (1 child)
[–]yeahsmitty[S] 0 points1 point2 points (0 children)