Corrupted SSH After VPS Cloning
Written by:
Ilya Vasilenko
on
31 May 2016 05:17 PM
|
|
After successful cloning of existing Linux based VPS, inaccessible SSH may occur. In that case we have to regenerate keys After successful cloning of existing Linux based VPS it may happen of inaccessible SSH. The reason might be old ssh host keys, copied from the cloning donor.
In that case we have to regenerate keys.
Debian/Ubuntu: Remove old keys:
Reconfigure new keys:
Sample output:
Centos: Remove old keys:
Just re-start SSHD:
| |
|