Solved

Clear Old RSA Keys on VmWare server

Posted on 2008-06-21
6
813 Views
Last Modified: 2008-06-22
I'm connecting to my VMware server using Putty my server is cashing the old server's RSA key. How do I clear the RSA key's from my server?
0
Comment
Question by:compdigit44
  • 3
  • 3
6 Comments
 
LVL 14

Expert Comment

by:agriesser
ID: 21838408
What machine does cache what RSA key?
Could you be a bit more precise, please?

The RSA key for SSH connections on VMware server is generated once after the ssh package has been installed. Usually you don't need to change this key (only if the hostname changes). Is this the case?
0
 
LVL 19

Author Comment

by:compdigit44
ID: 21838993
I'm connecting to my remote vmware server via Putty from my Windows XP workstation. I had to do a format reinstall on this vmware server it has the same name but the key has changed
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21839062
And now you're getting a warning about a potential security breach when PuTTY tries to connect to your VMware server? Usually clicking on "Yes, I'm sure" or something like this when this warnings arrives fixes this issue as it'll automatically overwrite the old key.

To clear PuTTY's keys, you have to delete them out of the registry.
To do that, click "Start" -> "Run" and type "regedit".

Go to HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys and delete the keys in question.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 19

Author Comment

by:compdigit44
ID: 21839117
I just tried it but it didn't work. This is the messge that I'm getting on the remote system:
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
0
 
LVL 14

Accepted Solution

by:
agriesser earned 500 total points
ID: 21839132
Ah, ok, you're getting this message on a linux machine.
Open the file /root/.ssh/known_hosts with your favourite editor and delete the first line (sometimes you also need to delete the second line too, depending on the OpenSSH version used).

Save the changes to this file and try again.
0
 
LVL 19

Author Comment

by:compdigit44
ID: 21841223
IT WORKED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Fine Tune your automatic Updates for Ubuntu / Debian
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now