java console command not working for: term_.command.removeAllKnownHosts();

235 views
Skip to first unread message

Andy Savidge

unread,
Aug 3, 2020, 12:44:58 PM8/3/20
to chromium-hterm
With my ASUS Chromebox3 setup on my home network I swap out Raspberry Pi microsd cards and two PRi boxes frequently and thus get lots of error messages using Secure Shell App version 0.33:
...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:GI2DxFovgicutBlcSayQUtoOlbhFFopjIj80czovsE8.
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:1...

I used to be able to clear these issues using the Ctrl+Shif+j and using the command:  
> term_.command.removeAllKnownHosts();

However now I am getting the message:

... VM172:1 Uncaught TypeError: term_.command.removeAllKnownHosts is not a function
    at <anonymous>:1:15

and I am stuck.  Any obvious stuff I could try - been searching for a few hours and tried a few things but no progress as I really don't know a lot about ssh etc.

Screenshot 2020-08-03 at 11.32.14.png


William Furr

unread,
Aug 3, 2020, 1:00:42 PM8/3/20
to Andy Savidge, chromium-hterm
In the options for the app (click "options" button on the choose connection page), there's a section titled "ssh files" that you can use to edit the known_hosts file.  https://i.imgur.com/4LcS8ie.png


--
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/b70f60b1-2fb8-456d-afe7-7e3f4b65ba37o%40chromium.org.

Mike Frysinger

unread,
Aug 3, 2020, 1:01:47 PM8/3/20
to Andy Savidge, chromium-hterm
the code has been removed.  use the Options page UI to manage your keys now.
-mike

On Mon, Aug 3, 2020 at 12:45 PM Andy Savidge <andys...@gmail.com> wrote:

Andy Savidge

unread,
Aug 3, 2020, 1:41:57 PM8/3/20
to chromium-hterm, andys...@gmail.com
THAT DID IT!  WONDERFUL! 
Take care.  Thanks.


On Monday, August 3, 2020 at 12:00:42 PM UTC-5, William Furr wrote:
In the options for the app (click "options" button on the choose connection page), there's a section titled "ssh files" that you can use to edit the known_hosts file.  https://i.imgur.com/4LcS8ie.png


On Mon, Aug 3, 2020 at 12:45 PM Andy Savidge <andys...@gmail.com> wrote:
With my ASUS Chromebox3 setup on my home network I swap out Raspberry Pi microsd cards and two PRi boxes frequently and thus get lots of error messages using Secure Shell App version 0.33:
...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:GI2DxFovgicutBlcSayQUtoOlbhFFopjIj80czovsE8.
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:1...

I used to be able to clear these issues using the Ctrl+Shif+j and using the command:  
> term_.command.removeAllKnownHosts();

However now I am getting the message:

... VM172:1 Uncaught TypeError: term_.command.removeAllKnownHosts is not a function
    at <anonymous>:1:15

and I am stuck.  Any obvious stuff I could try - been searching for a few hours and tried a few things but no progress as I really don't know a lot about ssh etc.

Screenshot 2020-08-03 at 11.32.14.png


--
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 chromiu...@chromium.org.
Reply all
Reply to author
Forward
0 new messages