equivalent for ssh-keygen -R FQDN / connections sort

62 views
Skip to first unread message

Dmitry Chorine

unread,
Apr 27, 2018, 12:10:48 PM4/27/18
to chromium-hterm
... while trying to connect, I encounter following:

Connecting to uid@fqdn...
Loading NaCl plugin... done.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 ECDSA key sent by the remote host is
SHA256
:il/UUcQrrIk3wsPRm8Vys4USJcTnYicOZcA8HPlHzDU.
Please contact your system administrator.
Add correct host key in /.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /.ssh/known_hosts:8
ECDSA host key
for fqdn has changed and you have requested strict checking.
Host key verification failed.
NaCl plugin exited with status code 255.
(R)econnect, (C)hoose another connection, or E(x)it?
 failed
! :(

I re-build VM and my key changed, how do I get rid existing key? equivalent of "ssh-keygen -r FQDN"

also, whenever I choose connection to connect, is there a way to sort my connections somehow? atm, they appear as added (no order).

Thanks in advance

Bogdan Goie

unread,
Apr 27, 2018, 1:08:14 PM4/27/18
to ale...@gmail.com, chromiu...@chromium.org
Hi Dmitry,

I encounter the same thing a few months back and what fixed it for me was the following:

Open the JS console and run the following: term_.command.removeDirectory('/.ssh/') . This removes all keys.

To remove a specific key, see this info (I did this but I was still getting the same warning so I removed all keys)

Cheers,
Bogdan


--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-hter...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/f42e572f-cfa6-4033-a318-0325e375a743%40chromium.org.

Mike Frysinger

unread,
Apr 27, 2018, 3:10:13 PM4/27/18
to bg...@google.com, Dmitry Chorine, chromium-hterm
Bogdan got it wrt key management

wrt sorting, there isn't anything atm, but we'll try to keep that in mind as we redo the UI.  if you're feeling adventurous in JS, you could resort that way :).  it's controlled by the /nassh/profile-ids array.
> chrome.storage.sync.get((x) => console.log(x))
...shows all the keys...
> chrome.storage.sync.get('/nassh/profile-ids', (x) => ids = x['/nassh/profile-ids'])
...saves to the "ids" var which you can now manually sort or set...
> chrome.storage.sync.set({'/nassh/profile-ids': ids})
...saves the updated sort...
-mike

Reply all
Reply to author
Forward
0 new messages