Connectrix Brocade B-Series:秘密キー/公開キーを使用したSSHログインが失敗し、公開キーをインポートできない

Summary: 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

SSHを使用して秘密キーと公開キーのペアでスイッチにログインすると失敗し、パスワードの入力を求めるプロンプトが表示されます。

Error:

Failed to import public key.

 

Cause

Fabric OS v7.4.1d、v8.0.1、v8.0.1a、v8.0.1bを実行しているスイッチに公開キーをインポートすると、ファイルに関連付けられているユーザーのファイルに対するファイル権限が読み取り不能に変更されます。

Brocade DEFECT000616486

 

Resolution

修正:
Fabric OS 7.4.1eおよびFabric OS 8.0.2以降にアップグレードします。

対処方法:

  1. rootユーザーとしてログインし、chmodを使用して公開キーの権限を644に変更します。

  2. chmod 644 /fabos/users/admin/.ssh/authorized_keys.*

    それでも問題が解決しない場合は、次の手順に従います。

    1. 「authorized_keys.admin」(唯一のもの)にすでに644権限があることを確認します。

       

      switch:root> ls -pal /fabos/users/admin/.ssh
      total 32
      drwxr-xr-x 2 root admin 4096 Mar 29 11:20 ./
      drwxr-xr-x 3 root admin 4096 Mar 23 09:48 ../
      -rw-r--r-- 1 root root 10240 Mar 28 09:21 authorizedKeys.tar
      -rw-r--r-- 1 root admin 759 Mar 28 09:21 authorized_keys
      -rw-r--r-- 1 root admin 759 Mar 28 09:21 authorized_keys.admin
      -rw-r--r-- 1 root admin 134 Feb 1 01:01 environment
    2. スイッチへの「root」アクセスを使用して、次の手順を使用して、管理者の公開キーを必要な場所に手動でコピーします。
      ユーザーadmin用の公開キー ファイルをホストに作成したら、次のように入力します。
      switch:root> /home/admin/.ssh/id_dsa.pub
      ホストから、次のコマンドを使用して、公開キーが存在するホストからスイッチにセキュア コピー(SCP)します。ここで、スイッチのIPアドレスは以下にxx.xx.xx.xxとして示されています。
      scp ~/.ssh/id_dsa.pub root@xx.xx.xx.xx:/fabos/users/admin/.ssh/authorized_keys
      scp ~/.ssh/id_dsa.pub root@xx.xx.xx.xx:/fabos/users/admin/.ssh/authorized_keys.admin
      注:scpを使用したスイッチへのアクセスは、root@xx.xx.xx.xxです。

Brocade DEFECT000616486

 

Affected Products

Connectrix

Products

Connectrix, Connectrix B-Series Hardware
Article Properties
Article Number: 000064822
Article Type: Solution
Last Modified: 07 Oct 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.