Results 1 to 7 of 7
Thread: SSH Login Problem
-
01-13-2014, 03:09 AM #1Temporarily Suspended
- Join Date
- Dec 2013
- Posts
- 23
SSH Login Problem
I have reinstalled my vps from solusvm and now when i'm trying to login using SSH its showing the followign error
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
f2:34:3e:2c:bb:6a:3d:75:df:9d:1b:74:f5.
Please contact your system administrator.
Add correct host key in /Users/user/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/user/.ssh/known_hosts:5
RSA host key for 208.xxx.xxx.xxx has changed and you have requested strict checking.
Host key verification failed.
Now how to fix it??
i have root access on my dedicate server. Please give me step by step suggesion..
-
01-13-2014, 03:14 AM #2Temporarily Suspended
- Join Date
- May 2013
- Location
- India
- Posts
- 747
In your local system, open " /Users/user/.ssh/known_hosts" ( path here is as per the error message ) and then remove line number 5. Try to connect again to the server and it will ask to add the server to known list; type "yes" and hit enter. It will then connect to the server fine. The RSA key stored in the known_hosts file on your local system is changed corresponding to the server ( it is normal after OS reload ). That is the problem here; following above instructions will let you to connect again to the server.
-
01-13-2014, 03:41 AM #3Temporarily Suspended
- Join Date
- Dec 2013
- Posts
- 23
Thanks a lot dear. It fixed my problem.
now i have another problem
when i login it says "setlocale: LC_CTYPE: cannot change locale (UTF-8)"
everytime it shows the warning. How to solve it? I am using centos os.
-
01-13-2014, 03:49 AM #4Temporarily Suspended
- Join Date
- May 2013
- Location
- India
- Posts
- 747
On your local machine open your ssh client config file as root (usually in /etc/ssh_config or /etc/sshd/ssh_config) and comment this line:
SendEnv LANG LC_*
See if that helps!
-
01-13-2014, 03:52 AM #5Temporarily Suspended
- Join Date
- Dec 2013
- Posts
- 23
I used the command
yum install perl
it showed:
Failed to set locale, defaulting to C
how to fix it?
-
01-13-2014, 04:49 AM #6Web Hosting Master
- Join Date
- Dec 2007
- Location
- LocalHost
- Posts
- 1,317
█ YagHost - Fast Reliable Hosting Since 2009
█ Managed VPS - NVMe DirectAdmin
█ Web Hosting - NVMe SSD, AMD EPYC, 10 Gbps (US, Europe, Singapore)
-
01-13-2014, 05:04 AM #7Web Hosting Guru
- Join Date
- Nov 2013
- Posts
- 263
Do you still require any further help on the issue? Feel free to ask.
Similar Threads
-
SSH login problem after failed installation
By Nidils in forum Dedicated ServerReplies: 1Last Post: 05-12-2011, 04:44 AM -
problem login to SSH
By netedgetech in forum Hosting Security and TechnologyReplies: 6Last Post: 08-13-2009, 08:37 AM -
SSH Login Problem
By newcomp in forum Hosting Security and TechnologyReplies: 5Last Post: 11-11-2004, 02:58 AM -
ssh login problem to FreeBSD server!!!
By atul in forum Hosting Security and TechnologyReplies: 0Last Post: 06-03-2004, 06:31 AM -
SSH/SSHD login problem
By alltimed in forum Hosting Security and TechnologyReplies: 3Last Post: 10-31-2003, 10:47 AM