Connectrix B-Series:如何在嘗試 supportsave 時故障診斷 SSH 錯誤

Summary: Supportsave 失敗,並顯示「Error occurred in SSH」。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

A supportsave 失敗期間 SSH 身份驗證。

admin> supportsave

This command collects RASLOG, TRACE, supportShow, core file, and then transfer them to a FTP/SCP/SFTP server or a USB dev
This operation can take several minutes.
OK to proceed? (yes, y, no, n) : [no] y

Host IP or Host Name: 10.xx.xx.10
User Name: admin
Remote Directory: /
Protocol (ftp | scp | sftp): sftp
SCP/SFTP Server Port Number [22] : 
Do you want to continue with CRA (Y/N): [N] 
Password:
Saving support information:
SLOT
SWITCH
MODULE
CLI SIZE
CLI TIME
MODULE TIME LOAD AVERAGE
Error occurred in SSH.
Summary worker: 2, cpu load: 3 upload size: 0 KB, time: 1 load:0.3/0.1/0.1
SupportSave completed (upload failure)

SCPSFTPSSH 用於身份驗證。 SCP 本質上使用 SSH 負責在用戶端 (交換器) 和伺服器之間 建立安全連線 (例如 SANnav 或 SFTP 伺服器),用於檔案傳輸。

當您啟動 SCP 傳輸時,有兩個身份驗證步驟:

  • 伺服器認證: SSH 使用主機金鑰對伺服器進行身份驗證。
  • 使用者驗證:在 SSH,用戶端使用密碼、金鑰對或其他方法向伺服器進行身份驗證。

Cause

假設您的登入資料正確無誤,則此問題可能是由伺服器驗證期間的錯誤所造成。

開關 (SSH 用戶端) 比較由 SSH 伺服器 (10.xx.xx.10) 針對儲存在其 known_hosts 檔案中所定義。如果不匹配,則身份驗證將失敗。 

Resolution

解決方法是清除交換器中的錯誤項目。

sshutil delknownhost 若要清除 SSH (SCP/SFTP) 裝置的已知主機表中的伺服器 IP 位址或主機名。僅限已被授予使用存取權的使用者 SSH-相關工具,如 sshutil 可在 Brocade 交換器上執行下列動作。

若要確認,請使用下列命令:

sw7:FID128:admin>  sshutil showuser

應該 SCP 伺服器連線能力由 22 以外的任何其他連接埠連線 (預設 SSH),則還必須指定埠號。例如: SSH/SFTP 伺服器 (10.xx.xx.10:22),使用以下語法:

sw7:FID128:admin> sshutil delknownhost
IP Address/Hostname to be deleted: 10.xx.xx.10

例如,在 SANnav 伺服器 (10.xx.xx.10:6022),使用以下語法:

sw7:FID128:admin> sshutil delknownhost
IP Address/Hostname to be deleted: [10.xx.xx.10]:6022

Affected Products

Connectrix B-Series Hardware, Connectrix B-Series Software
Article Properties
Article Number: 000361107
Article Type: Solution
Last Modified: 04 Dec 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.