新增wiki命令文件
This commit is contained in:
22
wiki/concepts/远程开发.md
Normal file
22
wiki/concepts/远程开发.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
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]] ← 容器 ← [[远程开发]]
|
||||
Reference in New Issue
Block a user