Reading Time:1 minute
0 words

Quick Start ​

This tutorial will help you get started with GM Desktop quickly.

Prerequisites ​

Before using GM Desktop, you only need to prepare the following environment:

1. Basic Requirements ​

  • A Linux server: Whether it's a cloud server, local virtual machine, or Raspberry Pi.
  • SSH service enabled: Ensure SSH and SFTP are enabled on the server (default port 22), with a login account available (root or a user with sudo privileges).

2. Compatibility ​

GM Desktop is built on standard protocols with excellent compatibility. Below is the list of officially tested and supported systems:

OS FamilyCompatible Versions
Ubuntu18.04 / 20.04 / 22.04 / 24.04 and above
Debian9 / 10 / 11 / 12 and above
CentOS / RHEL7.x / 8.x / 9.x and Rocky Linux / AlmaLinux
Chinese OSOpenEuler / Deepin / UOS (Linux kernel based)
OthersRaspberry Pi (Raspberry Pi OS) / Armbian

Tip

If your system is not listed above, as long as the kernel version is Linux 3.10+ and meets the above conditions, it should be fully compatible. GM Desktop is statically compiled in Go with no system library dependencies.

Quick Connect & Login (Web Edition) ​

You can manage your servers instantly through the GM Desktop cloud edition without installing any software.

Step 1: Access the Platform ​

Open your browser and visit https://web.gmssh.com/. web-login.png

Step 2: Authentication ​

Choose one of the following login methods based on your server configuration:

  • Password Login: Enter the SSH account (e.g., root) and the corresponding password.
  • Private Key Login: Click the certificate option to upload your private key. Currently supported encryption algorithms:
    • ED25519 (recommended)
    • ECDSA
    • RSA, etc.

Important Security Note

Allow Access: Since you are using the online edition, make sure your target server's firewall has allowed access from the GM Desktop cloud cluster (default SSH port 22).

If you have strict restrictions on public port exposure, we recommend using the GM Desktop Self-Hosted Edition or Desktop Client.

Self-Hosted Deployment ​

Visit GM Desktop Self-Hosted Deployment and choose between Docker deployment or Shell script based on your server environment. Either way, you only need to copy and execute a single command, and the system will automatically complete installation and configuration.

Docker Deployment ​

If you want to run GM Desktop on your own server, you can use Docker for rapid deployment.

📋 Requirements ​

ItemMinimumRecommended
Docker17.03+20.10+
CPU1 core 2 threads2 cores 4 threads+
Memory1 GB4 GB
Disk Space4 GB10 GB+

🌐 Network & Port Configuration ​

  • Network Access: Some AI features and cloud plugins require internet access. In air-gapped environments, some online features will be limited.
  • Firewall: The GM Desktop container maps to port 8090 by default (corresponding to port 80 inside the container). Ensure this port is allowed through your firewall.

🚀 Deployment Steps ​

Select the deployment command matching your server's OS and CPU architecture (x86 / ARM), then paste and execute in your terminal: Docker Deploy

ARM Architecture ​

bash
docker pull docker-rep.gmssh.com/gmssh/gs-main-arm:latest && \
docker run -d --name gm-service-latest \
  -p 8090:80 \
  --restart always \
  docker-rep.gmssh.com/gmssh/gs-main-arm:latest

x86 Architecture ​

bash
docker pull docker-rep.gmssh.com/gmssh/gs-main-x86:latest && \
docker run -d --name gm-service-latest \
  -p 8090:80 \
  --restart always \
  docker-rep.gmssh.com/gmssh/gs-main-x86:latest

Verify Deployment ​

After deployment, open your browser and visit http://<Server-IP>:8090 to access the GM Desktop interface.

Native Shell Script Deployment ​

If you want to run GM Desktop directly on the Linux system, or your environment does not support / has not installed Docker, you can use our one-click installation script.

Requirements ​

ItemMinimumRecommended
Operating SystemLinux kernel 3.10+Ubuntu 18.04+ / CentOS 7+
Architecturex86_64 / arm64-
CPU / Memory1 core 2 threads / 1 GB2 cores 4 threads / 4 GB
Disk Space4 GB10 GB+

Network & Port Configuration ​

  • Network Access: The installation process downloads binaries from the cloud; some AI features and plugins require internet access.
  • Port Usage: The shell script uses port 80 by default. Ensure this port is not occupied by Nginx or other services, and is allowed through your firewall.

One-Click Deployment Command ​

Copy and execute the following command on your server terminal:

bash
curl -fsSL https://gmb-prod-gw.oss-accelerate.aliyuncs.com/up/14/gm/20260304/19442169a81b15117a66yqqt2_sh.file -o gm.sh && \
chmod +x gm.sh && \
sudo ./gm.sh install

Offline Deployment ​

For intranet or air-gapped servers, GM Desktop provides complete offline installation packages. You can download the offline resources for your architecture from the Self-Hosted Deployment page.

Option 1: Docker Image Offline Installation ​

This option is for systems with Docker already installed.

  1. Import Image: Upload the downloaded .tar image to your server and execute:

    bash
    # Replace with your actual file name
    docker load -i gm_img.0.0.5.tar
  2. Start Container:

    bash
    docker run -d --name gm-service -p 8090:80 --restart always gs-main:latest
  3. Check Status:

    • Run docker ps -a to check the container status.
    • If the container is stopped, run docker start gm-service to start it manually.
  4. Access Service: Ensure your security group allows TCP 8090, then visit: http://<Server-IP>:8090/newweb/#/. Note: Port 8090 can be customized.


Option 2: Native Shell Offline Installation ​

This option is for pure Linux systems without Docker.

  1. Extract Package: Upload and extract the offline package:

    bash
    tar xzf GMSSH_package.tar.gz -C .
    cd GMSSH_install_dir
  2. Initialize & Start:

    • First run: Execute the init script: bash ./deploy.sh init
    • Start service: Execute bash ./deploy.sh start
  3. Port Configuration (Optional): The service uses TCP 80 by default. To change the port (the system will auto-restart):

    bash
    bash ./deploy.sh setport <your-new-port>
  4. Verify Status:

    • Run bash ./deploy.sh status to check service status.
    • Once running, visit: http://<Server-IP>:<port>.

Important Notes

  • Permission Required: All commands above require root privileges or sudo.
  • Security Group: Make sure to allow the corresponding TCP port in your server firewall or cloud platform security group, otherwise the Web UI will be inaccessible.

If you need to manage massive server fleets or want the ultimate local experience, the GM Desktop Client is your best choice. Visit the GM Desktop Client Download Page and select the version for your OS:

  • 🪟 Windows: Supports Windows 10/11.
  • 🍎 macOS: Fully compatible with Intel and Apple M1/M2/M3 chips.
  • 🐧 Linux: Coming soon.

Client Advantages ​

Compared to the Web edition, the Desktop Client provides more powerful productivity:

  • Ultimate Performance: Built with Electron, deeply optimized for concurrent management of thousands of servers.
  • Local Privacy: Data stored locally, combined with local network access for enhanced security and responsiveness.
  • Enhanced Batch Jobs: Supports large-scale concurrent script dispatch with real-time result aggregation.

Getting Started ​

  1. Launch: Open the GM Desktop client after installation.
  2. Create/Import Connections: You can manually add individual servers, or use the batch scan feature to quickly import server clusters from your LAN or public network. client-add-server

FAQ ​

For connection issues and other common problems, see the FAQ.