By default, an SSH key is stored in the /usr/local/zstack/apache-tomcat/webapps/zstack/WEB-INF/classes/ansible/rsaKeys directory. If you happen to delete the SSH key, you can resume it via the following method:

  1. Firstly, generate an SSH key by running the following command:
    ssh-keygen -f /usr/local/zstack/apache-tomcat/webapps/zstack/WEB-INF/classes/ansible/rsaKeys/id_rsa -N ""    //In the command, "" is the double quotation marks.
  2. After generation, ensure that you have access permission to the SSH key by running the following command:
    chown -R zstack.zstack /usr/local/zstack/apache-tomcat/webapps/zstack/WEB-INF/classes/ansible/rsaKeys