Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

Close
Important Announcement: WELCOME to the new Schneider Electric Community! Community is now no longer part of Exchange, and is now rebranded under se.com. If you have any bookmarks and links saved, we request you to update them to ensure that you continue accessing our community from this new location. For any issues that you might encounter as part of this change, please reach out to SchneiderCommunity.Support@se.com, and the team will help to get your issues resolved.
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
82615members
350257posts

Using Linux host software to issue ssh commands

APC UPS Data Center & Enterprise Solutions Forum

Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.

Solved
gsochurek1_apc
Cadet
0 Likes
1
137

Using Linux host software to issue ssh commands

This was originally posted on APC forums on 6/11/2015


with the format of the nmc host keys being different from Linux, is there a way to set the nmc up so a custom piece of Linux based software can shutdown or issue any command to an nmc?

thanks

Tags (3)

Accepted Solutions
Terry_Kennedy_apc
Commander
Commander
0 Likes
0
137

Re: Using Linux host software to issue ssh commands

This was originally posted on APC forums on 6/12/2015


I don't know about Linux, but from FreeBSD I can just do "ssh -l apc upsname.example.com" and get to the console prompt on an AP9631 card (with 6.2.1 firmware). I didn't try it with the older NMC hardware - if you let me know the device model and firmware version, I'll try it and report back.

Having said that... Rather than trying to build something with ssh and expect, you could use SNMP (you may need to install the package on Linux). That gives you an industry-standard way to control the UPS. You also have more detailed access controls available that way.

See Answer In Context

1 Reply 1
Terry_Kennedy_apc
Commander
Commander
0 Likes
0
138

Re: Using Linux host software to issue ssh commands

This was originally posted on APC forums on 6/12/2015


I don't know about Linux, but from FreeBSD I can just do "ssh -l apc upsname.example.com" and get to the console prompt on an AP9631 card (with 6.2.1 firmware). I didn't try it with the older NMC hardware - if you let me know the device model and firmware version, I'll try it and report back.

Having said that... Rather than trying to build something with ssh and expect, you could use SNMP (you may need to install the package on Linux). That gives you an industry-standard way to control the UPS. You also have more detailed access controls available that way.