HPE EVA Storage
1824218 Members
3744 Online
109669 Solutions
New Discussion юеВ

How to Set up SSH Key Authentication on Brocade Director (SW12000)

 
Alzhy
Honored Contributor

How to Set up SSH Key Authentication on Brocade Director (SW12000)

Since I can use SSH to login to our Driectors - is it possible to set up SSH Key authentication?

So I can manage the switches and do some automation via SSH?

I'm a NOOB with FabricOS but I am aware it's a Linux OS underneath.. so how do I access the OS and set up keys if at al possible?

Hakuna Matata.
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: How to Set up SSH Key Authentication on Brocade Director (SW12000)

You can access the Fabric OS using root/password (default) and get access to the file system. I haven't tried to put a public key into authorized_keys.

It is possible to manage with scripts via the Fabric Access API or via the use of Expect.

If an Expect script (or equivalent) is running and constantly issuing commands, switch resources are consumed and the response time will be lengthened for all other applications connected to the switch. In extreme cases, applications can appear to freeze while waiting for a response from the switch. Note: For Expect scripts, it is recommended to disable the expect timeout and always wait for a switch command prompt after every switch command is issued.

www.brocadekorea.com/download/products/API_Script_DS_00.pdf -

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Alzhy
Honored Contributor

Re: How to Set up SSH Key Authentication on Brocade Director (SW12000)

Ivan, what would be the default "root" password? We access the switches and the cp's using the admin login.
Hakuna Matata.
Alzhy
Honored Contributor

Re: How to Set up SSH Key Authentication on Brocade Director (SW12000)

Also is there not a "system" or a SUDO to root from the Admin(switch administrator) log in?
Hakuna Matata.
Ivan Ferreira
Honored Contributor

Re: How to Set up SSH Key Authentication on Brocade Director (SW12000)

The default password is "password". There is no "su/sudo" AFAIK.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Alzhy
Honored Contributor

Re: How to Set up SSH Key Authentication on Brocade Director (SW12000)

I think it was forced to be changed at install time and no one remembers.

Are firmware updates done via root or an administrator account?
Hakuna Matata.