我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
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 into 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

2- 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.

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings