Files
nexus/wiki/concepts/远程开发.md
2026-04-14 16:02:50 +08:00

23 lines
564 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "远程开发"
type: concept
tags: [Trae, SSH, 开发]
sources: [trae-remote-dev-guide]
last_updated: 2026-04-14
---
## Definition
通过Remote-SSH连接到远程服务器进行开发的方式。
## SSH免密配置
1. 生成密钥对:`ssh-keygen -t rsa -b 4096`
2. 上传公钥:`ssh-copy-id -i ~/.ssh/id_rsa.pub user@host`
3. 配置SSH Config别名方便管理
## Docker权限
用户必须在docker用户组`sudo usermod -aG docker $USER`
## Connections
- [[Trae]] ← 工具 ← [[远程开发]]
- [[Docker]] ← 容器 ← [[远程开发]]