APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-10-15 07:02 AM . Last Modified: 2021-10-15 07:03 AM
Has anyone had any success scripting SSH connections to AP963x or AP964x NMC's from Windows?
Basically use an input list of IP's, connect and issue commands to change settings.
If so, what scripting language are you using? Powershell, Perl, Python....other?
Regards,
Tom
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-10-15 07:38 AM
Hi,
Some success with Python, perl should work too. The catch is that you need something that wraps around 'expect' as there's no key-based logins, so you need to automate an interactive login.
(Although I tend to use WSL on windows, so perhaps taking the scope of "windows" a little liberally)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-11-03 04:59 AM
Thanks for the reply. Unfortunately we can't use WSL.
Will look at Perl and Python.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-09-01 03:40 AM
My access got messed up and I could start a new thread, but not reply to this one.
Here's an updated thread on the topic.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.