# After cloning

After the clone, there is a need to make machine 'unique':

Ensure, it is a new machine, it's uptime should be low.
```bash
uptime
```

Check network interfaces
```bash
ip -br a
```

Set new hostname
```
sudo su
hostnamectl hostname (new_hostname)
```

Remove current server's SSH keys and generate new ones to avoid confusion on connecting
```bash
rm -rf /etc/ssh/ssh_host_*
ssh-keygen -A
```

Reboot the machine to ensure it will apply it's hostname in depended services locally and in the network
```bash
shutdown -r now
```

Possible situations:

You may need to remove old SSH keys, to perform it:
```bash
$ ssh-keygen -R 10.77.84.133
```
```bash
# Host 10.77.84.133 found: line 27
/home/anton/.ssh/known_hosts updated.
Original contents retained as /home/anton/.ssh/known_hosts.old
```