.m87 domain suffix.
Overview
Once enabled, m87’s SSH integration allows you to use native SSH commands to access your devices without needing to use the m87 CLI directly. This works with any SSH client and all SSH-based tools likescp, rsync, and git.
Enable SSH Integration
Enable SSH Host Resolving
Run the following command to enable SSH integration:This configures your SSH client to route
.m87 domain connections through the m87 CLI.Usage Examples
Basic SSH Connection
Copy Files with SCP
Sync with Rsync
Execute Remote Commands
Git over SSH
How It Works
When you enable SSH integration, m87 configures your SSH client to:- Recognize
.m87domain suffixes - Route these connections through the m87 CLI
- Establish a secure tunnel to your device through the m87 platform
- Forward the SSH session to the device
Compatibility
The SSH integration works with:- Standard SSH clients (
ssh,openssh-client) - SCP and SFTP
- Rsync over SSH
- Git over SSH
- Any tool that uses SSH as a transport layer
Troubleshooting
Connection refused or timeout
Connection refused or timeout
Ensure that:
- You’re authenticated: run
m87 login - The device is online: check with
m87 devices list - SSH integration is enabled: run
m87 ssh enableagain
Device not found
Device not found
Verify the device name:Use the exact device identifier from the list.
Permission denied
Permission denied
Make sure you have access to the device. Check your device permissions with:
Related Commands
m87 <device> shell- Direct shell access without SSHm87 cp- Native m87 file copym87 sync- Native m87 file sync