cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6357
Views
10
Helpful
3
Replies

UCS - Clear cached SSH host keys

robob
Level 1
Level 1

Hi!

I need to clear the cached SSH keys in my UCS enviroment. I have tried SSH to the Fabric Interconnect and connect to local-mgmt and thereafter issued the command "clear sshkey x.x.x.x". This yields an error message of "Permission denied" to the file that holds the cache.

I cannot find any documentation that explains any other way to clear the cache. The user account is fully authorized and should not be the source of the problem.

 

Any input to how to clear the cached SSH-keys?

 

Regards

3 Replies 3

Marcin Latosiewicz
Cisco Employee
Cisco Employee

Quite popular unfortunately.

You can always ask TAC folks to help you do that with debug plugin. 

I've checked it and have the same problem on relatively new version. 

The "clear ssh" command looks to be a shell over a bash script... possibly not all situation are caught :/ 

virtuallymikeb
Level 1
Level 1
I'm using 3.2(2d) and this solved my problem.

sknick
Level 1
Level 1

Sorry to bump an old thread, but it turns up first on a google search.  I had the same issue...permission denied.  I was using my personal login for UCS.  I logged in again as local admin & then was able to run the command successfully.

Review Cisco Networking for a $25 gift card