Hur kan vi hjälpa dig idag?

Cannot SSH to PowerChute Network Shutdown virtual machine.

Issue:

The user cannot SSH to the PowerChute Network Shutdown virtual machine.

Product:

PowerChute Network Shutdown 4.x, 5.x

Environment:

PowerChute Network Shutdown Linux virtual machine.

Cause:

The SSH service is set incorrectly on the Linux virtual machine.

Solution:

1- Log in to the ESXi host that is hosting the virtual machine.

2- Open a console to the virtual machine and verify that SSH is active.

Run the command systemctl status sshd

If the system reports that sshd is disabled or inactive, enter the command systemctl start sshd

disabled ssh service

SSH service inactive

Start SSH service

3- After verifying that the service is running, when connecting, an error is posted stating access is denied, or authentication failed. Run the commands listed below to permit the root user SSH access.

Access denied while using Putty

Access denied while using Filezilla

For PowerChute VM versions 4.x, 5.0, and 5.1, run the commands:

cp /etc/ssh/sshd_config /etc/ssh/sshd_savedconfig (This command will make a copy of the original sshd_config file.)

echo "PermitRootLogin yes" >> /etc/ssh/sshd_config (This command will add a new line to the sshd_config file permitting root login.)

systemctl restart sshd (This command will restart the sshd service.)

For PowerChute VM versions 5.2 and above, run the commands:

cp /etc/ssh/sshd_config.d/00* /etc/ssh/sshd_config.d/SavedConfig.txt (This command will make a copy of the original 00-complianceascode-hardening.conf file.)

sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config.d/00* (This command will edit the root log in permissions to allow root to log in over SSH/SFTP.)

systemctl restart sshd (This command will restart the sshd service.)

NOTE: We recommend disabling SSH access when not required.

Schneider Electric Sverige

Utforska mer
Produktfamilj
Utforska mer
Produktfamilj

Behöver du hjälp?

Behöver du hjälp?

Produktväljare

Produktväljare

Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.

Begär en offert

Begär en offert

Ställ din fråga online så kontaktar vi dig.

Här köper du

Här köper du

Hitta enkelt närmaste Schneider Electric-distributör på din ort.

Hjälpcenter

Hjälpcenter

Hitta alla supportresurser som du behöver på ett ställe.

  • Produktdokumentation
  • Ladda ner programvara
  • Produktväljare
  • Byt ut eller ersätt produkt
  • Hjälp- och kontaktcenter
  • Här köper du
  • Begär en offert
  • Hitta våra kontor
  • Shop.se.com/se/sv nedstängning
  • Schneider Electrics community
  • Karriär
  • Företagsprofil
  • Rapportera ett tjänstefel
  • Tillgänglighet
  • Pressrum
  • Investerare
  • EcoStruxure
  • Sök jobb
  • Blogg
  • Sekretesspolicy
  • Cookie-information
  • Användarvillkor
  • Change your cookie settings