Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

problem ssh

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
myordo
Posts: 5
Joined: 2022-07-19 21:12

problem ssh

#1 Post by myordo »

Hello, I have a debian 11 server and installed ssh, but when connecting I get an error

Code: Select all

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    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 ED25519 
after searching the Internet, I came across an article that needs to be deleted
rm .ssh/known_hosts

I deleted this file after making a copy. but for some reason the problem remains. tell me how to solve it ?

User avatar
kent_dorfman766
Posts: 529
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 56 times
Been thanked: 69 times

Re: problem ssh

#2 Post by kent_dorfman766 »

generally when the target host credentials cannot be verified it give you an options of how to remove the specific offending line in known_hosts rather than removing the whole file.
Please post the whole warning in multi-line format. Also, verify that the hostname and IP actually match the target machine. finally, consider that maybe there is a man in the middle attack going on. the internet is a scary place.

myordo
Posts: 5
Joined: 2022-07-19 21:12

Re: problem ssh

#3 Post by myordo »

Code: Select all

jeka@home:~/.ssh$ sudo ssh jeka@192.168.1.11
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 ED25519 key sent by the remote host is
SHA256:v9HvI6VV1s7nHX/1yqwW4clBOjL03cthDa7DGqPRcxk.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:4
  remove with:
  ssh-keygen -f "/root/.ssh/known_hosts" -R "192.168.1.11"
Host key for 192.168.1.11 has changed and you have requested strict checking.
Host key verification failed.
this is me error how to fix it
Last edited by myordo on 2023-06-01 07:05, edited 1 time in total.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5343
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: problem ssh

#4 Post by dilberts_left_nut »

It tells you how to fix it.
AdrianTM wrote:There's no hacker in my grandma...

myordo
Posts: 5
Joined: 2022-07-19 21:12

Re: problem ssh

#5 Post by myordo »

sorry for the inattention, I saw what was written in the terminal after executing this command, everything became fine.

Post Reply