Tiny Core Extensions > TCE Talk

ssh kex_exchange_identification

<< < (2/2)

Rich:
Hi andyj
Maybe you could post which keys should be removed?
Are there any new keys that should be added?

Paul_123:
The openssh init.d script needs updated.

This is what I use in piCore  (The line doing ssh-keygen -t dsa ........ was removed)


--- Code: ---keygen(){
   ssh-keygen -t rsa -N "" -f /usr/local/etc/ssh/ssh_host_rsa_key
   ssh-keygen -t ecdsa -N "" -f /usr/local/etc/ssh/ssh_host_ecdsa_key
   ssh-keygen -t ed25519 -N "" -f /usr/local/etc/ssh/ssh_host_ed25519_key
}

--- End code ---

patrikg:
Has also seen that the keyfiles being backup with filetool.sh -bv

That reads the .filetool.lst file and what populate that file with the keyfiles ?

Paul_123:
update your /opt/.filetool.lst to remove the missing keys.

patrikg:

--- Quote from: Paul_123 on December 06, 2025, 01:24:47 PM ---update your /opt/.filetool.lst to remove the missing keys.

--- End quote ---

A was only hinting what to do some changes to ?
Don't know then the .filetool.lst being populated with these files.
Maybe when you install openssh client/server.
In the install script.

Navigation

[0] Message Index

[*] Previous page

Go to full version