# Restart, clean up or remove a server

These all start from the server's page.

## Restart

Choose **Reboot server**. The apps on it start again when the server comes back. Coresmith never restarts a server on its own, including after security updates.

## Free disk space from old releases

Each app keeps its last five releases for rollbacks, and each deploy clears out anything older. Choose **Prune old releases** to clear old releases for every app on the server at once, for example after removing apps.

## Rename

Choose **Rename**. The name is only for Coresmith, and nothing on the server changes.

## Answer a changed host key

If the server's SSH host key changes, Coresmith stops connecting to it and asks you to accept or reject the new key. Accept it if you rebuilt or reinstalled the server. If you didn't, find out why before you accept. [How Coresmith protects your servers](/docs/concepts/security#a-changed-host-key) explains why it stops.

## Take a server out of Coresmith

Choose **Detach**. Coresmith takes its key off the server and forgets it. Everything else stays as it was. Apps keep running, but Coresmith no longer deploys to them or checks on them.

To bring a detached server back, [add it](/docs/servers/add-a-server) again with the same IP address and SSH port. Coresmith recognises what it set up there before and reuses it.

A server Coresmith created at your [cloud provider](/docs/servers/cloud-providers) can also be destroyed, which deletes it at the provider.
