i'm not really sure where this topic should actually go, so i'm putting it in the focal desktop environment, because that's what i'm using locally, and i THINK this may be a local problem...
i connect to my external server using dolphin and fish. recently, the host provider moved my server to a new machine, with a new IP address, which temporarily screwed up my ability to access it from my local machine. they recommended that i fix the problem by issuing the following command in the terminal:
which fixed my ability to access the machine, but now, every time i log into the server, and every time i change directories on the server, i'm presented with the following "error(?)" message:
Warning: the ECDSA host key for '[THE.HOST-NAME.net]:2223' differes from the key for the IP address '[X.X.X.X]:2223'
Offending key for IP in /home/X/.ssh/known_hosts:1
Matching host key in /home/X/.ssh/known_hosts:4
Are you sure you want to continue connecting (yes/no)?
i THOUGHT this could be fixed by replacing the old IP address with the new one, in /home/X/.ssh/known_hosts but i was wrong: known_hosts is encrypted, and i don't have the first clue what to replace or how to find what i'm looking for...
and, yes, there are only two files in /home/X/.ssh/ "known_hosts" and "known_hosts.old"
does anyone know how to fix this so i am NOT presented with the aforementioned "error(?)" message? i'm spending as much time clicking "Yes" as i am doing the things that i'm supposed to be doing, and it's getting irritating...
thanks!
i connect to my external server using dolphin and fish. recently, the host provider moved my server to a new machine, with a new IP address, which temporarily screwed up my ability to access it from my local machine. they recommended that i fix the problem by issuing the following command in the terminal:
Code:
ssh-keygen -f "/home/X/.ssh/known_hosts" -R "[THE.HOST-NAME.net]:2223"
Warning: the ECDSA host key for '[THE.HOST-NAME.net]:2223' differes from the key for the IP address '[X.X.X.X]:2223'
Offending key for IP in /home/X/.ssh/known_hosts:1
Matching host key in /home/X/.ssh/known_hosts:4
Are you sure you want to continue connecting (yes/no)?
i THOUGHT this could be fixed by replacing the old IP address with the new one, in /home/X/.ssh/known_hosts but i was wrong: known_hosts is encrypted, and i don't have the first clue what to replace or how to find what i'm looking for...
and, yes, there are only two files in /home/X/.ssh/ "known_hosts" and "known_hosts.old"
does anyone know how to fix this so i am NOT presented with the aforementioned "error(?)" message? i'm spending as much time clicking "Yes" as i am doing the things that i'm supposed to be doing, and it's getting irritating...
thanks!
Comment