oi on Nostr: ``` cd /etc/ssh/ mkdir insecure_old cp ssh_host* insecure_old rm /etc/ssh/ssh_host_* ...
```
cd /etc/ssh/
mkdir insecure_old
cp ssh_host* insecure_old
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
service ssh restart
```
Change directory `cd` and make directory `mkdir` then copy these files `cp` using the wildcard for all `*` and remove `rm` then generate new ssh keys `dpkg` and `restart` the service with the old ssh keys in folder `insecure_old`.
cd /etc/ssh/
mkdir insecure_old
cp ssh_host* insecure_old
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
service ssh restart
```
Change directory `cd` and make directory `mkdir` then copy these files `cp` using the wildcard for all `*` and remove `rm` then generate new ssh keys `dpkg` and `restart` the service with the old ssh keys in folder `insecure_old`.