Skip to main content

gns3util remote uninstall gns3

Uninstall GNS3 server from remote machine

Synopsis

Uninstall GNS3 server from a remote machine. This command will:
  • Stop and remove GNS3 server service
  • Remove GNS3 configuration files
  • Remove GNS3 home directory (unless —preserve-data is used)
  • Remove GNS3 packages
  • Clean up systemd services
Note: The GNS3 user account is preserved to avoid file ownership issues. The command will attempt to load installation state from a previous installation to determine the correct configuration values. If no state is found, command line flags or defaults will be used. Use —preserve-data to keep the GNS3 home directory with projects and user data. Note: This will NOT remove virtualization packages (QEMU, Docker, VirtualBox, etc.) as they may be used by other applications.
gns3util remote uninstall gns3 [user] [flags]

Options

  -g, --gns3-port int     Port of the GNS3 Server (default 3080)
  -h, --help              help for gns3
      --home-dir string   GNS3 home directory to remove (default "/opt/gns3")
  -t, --interactive       Set the options for this command interactively
      --key string        Path to a custom SSH private key file
  -p, --port int          SSH port (default 22)
      --preserve-data     Keep GNS3 home directory and user data
  -v, --verbose           Enable verbose output

Options inherited from parent commands

  -c, --cluster string    Cluster name from keyfile. Mutually exclusive with --server
  -i, --insecure          Ignore unsigned SSL-Certificates. Can be set via GNS3_INSECURE
  -k, --key-file string   Path to authentication keyfile. Can be set via GNS3_KEY_FILE or config.toml
  -o, --output string     Output format: [json, json-colorless, collapsed, yaml, toml, table, table-ascii]. Can be set via GNS3_OUTPUT (default "table")
  -s, --server string     GNS3v3 Server URL. Can be set via GNS3_SERVER or config.toml

SEE ALSO

Auto generated by spf13/cobra on 24-Mar-2026