You Are Here Home > CentOS

CentOS

RSA host key for HOST has changed and you have requested strict checking

If you get this:

————————————-
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for HOST has changed,
and the key for the corresponding IP address IP
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
SOME_KEY
Please contact your system administrator.
Add correct host key in /Users/user… to get rid of this message.
Offending key in /Users/user…
RSA host key for HOST has changed and you have requested strict checking.
Host key verification failed.
————————————-

Then try:

ssh-keygen -R HOST

And try reconnecting…

RSA host key for HOST has changed and you have requested strict checking
Comments (0)   Filed under: CentOS, Linux, SSH   Posted by: Codehead

CentOS-Yum: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6

Try:

rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm –import ftp://mirrors.easynews.com//linux/centos/RPM-GPG-K
:)

CentOS-Yum: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Comments (3)   Filed under: CentOS, Linux, Security, Server   Posted by: Codehead

The nx service is not available or the nx access was disabled – CentOS

If you follow the instruction here:
http://wiki.centos.org/HowTos/FreeNX

You will get an error message from NX client:
The nx service is not available or the nx access was disabled

To fix this, connect to your SSH and type:
cat /var/lib/nxserver/home/.ssh/client.id_dsa.key

Copy the text you get and in your NX client, on your login dialog box go to:
Configure… > General Tab > Key

And paste the text there and you will be fine :)

The nx service is not available or the nx access was disabled – CentOS
Comments (9)   Filed under: CentOS, Server   Posted by: Codehead