SSH Remote Terminal

SSH (Secure Shell Protocol) is an encrypted network protocol used to securely access and manage computers remotely over insecure networks (such as the Internet). It protects communication security and prevents eavesdropping and tampering by establishing an encrypted tunnel between the client and the server.

Prerequisites: The device is connected to the network via wired or Wi-Fi connection. The Quectel Pi H1 Smart Single-Board Computer will automatically obtain an IP address via the DHCP protocol.

The SSH server is disabled by default. It can be enabled using one of the following methods.

Operate on Desktop of Smart Single-Board Computer

Open Terminal in System Applications

Install ssh-server Service

sudo apt install openssh-server
  • If prompted as shown below, type "Y + Enter".

    image-20251108173642901
  • For any subsequent options, simply press Enter.

    image-20251108173642901

Start ssh-server Service

# Enable auto-start
sudo systemctl enable ssh
# Start service
sudo systemctl start ssh
# Check service status
sudo systemctl status ssh

If the service status shows "active (running)", it indicates the service has started successfully. You can proceed to the next step.

Get IP Address of Quectel Pi H1

Enter the ip address command in the terminal to view the IP address of Quectel Pi H1.

Configure SSH Login

Enter the following command in the Windows console. You need to enter "yes" to confirm the connection during the connection process.

ssh <username>@<ip-address>
# Example
ssh pi@192.168.2.xxx  

alt text

Operate on Serial Console

Log in to Serial Console

Open PuTTY, configure USB serial port parameters, then click "Open".

Install ssh-server Service

sudo apt install openssh-server
  • When prompted with "Continue? [Y/n]", press "y+Enter"
  • For any subsequent options, simply press Enter

Start ssh-server Service

# Enable auto-start
sudo systemctl enable ssh
# Start service
sudo systemctl start ssh
# Check service status
sudo systemctl status ssh

If the service status shows "active (running)", it indicates the service has started successfully. You can proceed to the next step.

Get IP Address of Quectel Pi H1

Enter the ip address command in the serial console to view the IP address of Quectel Pi H1.

Configure SSH Login

Reopen PuTTY, tick "SSH" and enter the IP address of Quectel Pi H1, then click "Open".

For the username and password settings used during login, please refer to the System Login chapter.