Fibre Channel (SAN)

Reply
New Contributor
Posts: 2
Registered: ‎06-19-2013
Accepted Solution

How do I distribute new passwords for user accounts while preserving their SSH configs?

We have multiple user accounts configured on our switches, each of which has a unique ssh key configured for remote command line access. Whenever we update our passwords and distribute the new PWD database among the fabric, we lose the SSH configuration for all of the users and are forced to go through the process again of associating each SSH key with its user account for every switch in the fabric.

 

Is there a way around this, or am I doing something wrong? Any help is appreciated.

Occasional Visitor
Posts: 1
Registered: ‎06-14-2017

Re: How do I distribute new passwords for user accounts while preserving their SSH configs?

I confirm this on v7.4.1e.

Is this a known defect?

 

Steps to reproduce:

1. sshutil importpubkey

...

2. distribute -p PWD -d "*"

3. sshutil showpubkeys

New Contributor
Posts: 2
Registered: ‎06-19-2013

Re: How do I distribute new passwords for user accounts while preserving their SSH configs?

Not sure if it's a defect, but i've seen it in multiple FOS releases. We're at 7.4.1e right now as well. I've written an expect script to login to each of our switches automatically and upload a new key. Not ideal, but it's a workable solution.

Brocade Moderator
Posts: 307
Registered: ‎03-29-2011

Re: How do I distribute new passwords for user accounts while preserving their SSH configs?

Hi,

 

this is "DEFECT000572038  ssh public keys used with sshutil were lost after running distribute command" which is fixed in FOS 8.0.2 and FOS 8.1.0.

 




If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution".


Any and all information provided by me is not reviewed, approved or endorsed by Brocade and is provided solely as a convenience for Brocade customers. All systems and all networks are different and unique. If you have a service affecting network problem, please open a TAC service request for service through Brocade, or through your OEM equipment provider. If this provided you with a solution to this issue, please mark it with the button at the bottom "Accept as solution"

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.