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.
Posted: 2021-07-08 05:58 AM . Last Modified: 2024-02-15 12:12 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 05:58 AM . Last Modified: 2024-02-15 12:12 AM
Hi
After upgrading our AP9630 to APC OSv6.6.4 / APC Boot Monitor v1.0.8, we can no longer connect via SSH. There are 6 cards in 6 Smart-UPS 2200. None can be connected via SSH. FTP and HHTPS is still possible. We have tried several SSH clients.
Telnet is still possible
Before the update the connection with SSH was no problem. Any idea where the problem is?
Best and many thanks for your feedback
Andreas
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-07-08 05:58 AM . Last Modified: 2024-02-15 12:12 AM
Thanks for sharing that debug output. I am not seeing any similar problems using AOS 6.6.4 with OpenSSH v7.2p2 or v7.4p1 as well as PuTTy v0.70. In searching online for ssh_exchange_identification: read: Connection reset by peer
message (as I think those other messages about key_load_public are OK/normal and I have them too when I connect, this could be a few different things. I know that the NMC devices reboot during upgrade but you could try rebooting at least one for testing, restarting the client/service, or trying a different SSH client altogether if you hadn't already to confirm it appears to only be specific to this OpenSSH client.
I also don't know if for example upon reboot, host keys were re-generated which is causing a problem. This thread, among some others saying similar things https://ubuntuforums.org/showthread.php?t=2219400 seem to point to looking at allowhosts and denyhosts configurations. I know you said the client hasn't changed but worth a try and look.
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-07-08 05:58 AM . Last Modified: 2024-02-15 12:12 AM
Hi,
Which SSH client(s) are you using or trying? It would be helpful to see a verbose debug log from the client, if possible.
Also, which version of APC firmware did you upgrade from for reference? And is it possible the client was recently updated too?
Problems like this as of late are often mismatches between what the APC devices and SSH clients can support as far as cipher algorithms and HMAC options. Looking at a verbose debugging log from the client would help confirm where the issue is possibly and see if there is a work-around.
Using tools like OpenSSH, you can add -vvv to the CLI command and try to get the connection logs to put in a file. Other tools may have similar logging options.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 05:58 AM . Last Modified: 2024-02-15 12:12 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 05:58 AM . Last Modified: 2024-02-15 12:12 AM
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-07-08 05:58 AM . Last Modified: 2024-02-15 12:12 AM
Thanks for sharing that debug output. I am not seeing any similar problems using AOS 6.6.4 with OpenSSH v7.2p2 or v7.4p1 as well as PuTTy v0.70. In searching online for ssh_exchange_identification: read: Connection reset by peer
message (as I think those other messages about key_load_public are OK/normal and I have them too when I connect, this could be a few different things. I know that the NMC devices reboot during upgrade but you could try rebooting at least one for testing, restarting the client/service, or trying a different SSH client altogether if you hadn't already to confirm it appears to only be specific to this OpenSSH client.
I also don't know if for example upon reboot, host keys were re-generated which is causing a problem. This thread, among some others saying similar things https://ubuntuforums.org/showthread.php?t=2219400 seem to point to looking at allowhosts and denyhosts configurations. I know you said the client hasn't changed but worth a try and look.
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.