configUpload not permitted
Like with all other Linux based systems too changing the target host for encrypted sessions out of an Brocade DS-300 fibrechannel switch but keeping the IP address leads to a problem.A typical case is that the target host for the configuration backup gets physically replaced and the IP address is transferred to the new system.
The RSA public key of the target systems is stored in the fibrechannel switch on the first connection attempt of an IP address.
When trying to transfer the configuration to the replaced target system the following message is shown:
fcsw:admin> configupload -all -p scp 172.18.0.292,brocadeup,/var/lib/tftproot/up/brocade/fcsw.doma.in.txt
lost connection
configUpload not permitted (scp failed).
Terminated
fcsw:root> /usr/bin/scp -oStrictHostKeyChecking=no /tmp/fcsw.doma.in.txt brocadeup@[172.18.0.292]:/var/lib/tftproot/up/brocade
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
8d:4b:1b:35:4b:a4:a7:12:e6:12:ca:e2:71:f5:50:97.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password).
lost connection
Fabric OS version 6.2.0
fcsw:root> rm /root/.ssh/known_hosts
Fabric OS version 6.4.0
fcsw:root> ssh-keygen -R 172.18.0.292
When logging in to the switch using the built-in root Account, the command can be submitted "directly" so that the error message can be seen more precisely:
fcsw:root> /usr/bin/scp -oStrictHostKeyChecking=no /tmp/fcsw.doma.in.txt brocadeup@[172.18.0.292]:/var/lib/tftproot/up/brocade
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
8d:4b:1b:35:4b:a4:a7:12:e6:12:ca:e2:71:f5:50:97.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password).
lost connection
Fixing this problem differs by the Fabric OS version installed on the switch but is a simple procedure anyway. The most important thing to note is that the root account needs to be used.
The password of the root- account is the factory- default of the hardware- partner in most cases because this, and the factory account too, are needed for servicing purposes. The default password from Brocade does not work for EMC branded switches- but EMC has a default password too.
The password of the root- account is the factory- default of the hardware- partner in most cases because this, and the factory account too, are needed for servicing purposes. The default password from Brocade does not work for EMC branded switches- but EMC has a default password too.
Fabric OS Version 6.2.0
fcsw:root> rm /root/.ssh/known_hosts
Fabric OS Version 6.4.0
fcsw:root> ssh-keygen -R 172.18.0.292
The IP address is the target systems address that drops the connection.
After submitting the command everything should be fine again.