R
R
rumsey2017-11-09 00:27:03
SSH
rumsey, 2017-11-09 00:27:03

The server gives 2 different ssh keys. Where to dig?

There is a newly installed server in the states. When you try to connect via the ssh server, it gives one or the other key. If it gives the first key, then it allows you to log in, if the other one does not, and the message is displayed WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Keys looked with ssh-keyscan
How to find where the problem is?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rumsey, 2017-11-10
@rumsey

The problem was in the host network.

M
mayor-jojo, 2017-11-09
@mayor-jojo

try specifying the desired key in ~/.ssh/config
Host server.org # host or ip of the server
IdentityFile ~/.ssh/rsa # path to the key

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question