Configure New SSH Keys on Apstra DCD Server

You can replace SSH host keys on new or existing Apstra DCD server VMs.

  1. SSH into the Apstra DCD server as user admin. (ssh admin@<Apstra DCD-server-ip> where <Apstra DCD-server-ip> is the IP address of the Astra server.)
  2. Run the command sudo rm /etc/ssh/ssh_host* to remove SSH host keys.
  3. Run the command sudo dpkg-reconfigure openssh-server to configure new SSH host keys.
  4. To restart the SSH server process, run the command sudo systemctl restart ssh.