Global Feed Post Login
Replying to Avatar Oi

```

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`.

Avatar
Nope Noperson 2y ago

Thank you!

Reply to this note

Please Login to reply.

Discussion

No replies yet.