kr icon indicating copy to clipboard operation
kr copied to clipboard

Public key for @IP does not match pinned key. If the host key has actually changed, remove the pinned key in Krypton.

Open gloubix opened this issue 3 years ago • 5 comments

Hi,

I tried compiling on arch KR ; everything worked even pairing but when i connect : i have those errors :

`root@OXYRTX:~/.ssh # ssh [email protected]

Krypton ▶ Requesting SSH authentication from phone

Krypton ▶ Phone approval required. Respond using the Krypton app

Krypton ▶ Public key for 192.168.1.38 does not match pinned key. If the host key has actually changed, remove the pinned key in Krypton.

sign_and_send_pubkey: signing failed for RSA "Kratos" from agent: agent refused operation

[email protected]'s password:

ssh_dispatch_run_fatal: Connection to UNKNOWN port 65535: Broken pipe

`

Anyway to make it see that the public key has not changed .... ?

gloubix avatar Mar 24 '21 05:03 gloubix

I've noticed I get this problem between using Krypton on WSL and Linux. I can unpin the key in the app then use it on Linux for example. Then when I go to WSL, it complains about the pinned key. Then I can unpin the key can use it in WSL. But then I go back to Linux and it complains there.

viggy96 avatar Nov 17 '21 02:11 viggy96

OpenSSH 8.6 changed default key algorithms, causing the error above. I'd recommend updating SSH on machines where you're getting this issue; I've had to compile from source on my Ubuntu LTS installs.

KyleMiles avatar Jan 21 '22 05:01 KyleMiles

I have the latest 8.X OpenSSH (8.9) on my machine and this is still happening. Any ideas why this is still happening?

KMontag42 avatar May 11 '22 21:05 KMontag42