# 远程开发Linux服务器程序

> 参考 [通过SSHFS在Mac上远程开发Linux服务器程序](https://github.com/huataihuang/cloud-atlas-draft/tree/6f3204fffc11cf006abd394631e2598d98b415c3/develop/mac/sshfs/README.md)

在Mac电脑上，通过sshfs可以挂载远程Linux服务器上目录，甚至可以通过ssh转发方式访问特定服务器上目录，实现远程开发Linux程序：

* 从 [FUSE for macOS](https://osxfuse.github.io/) 下载安装 FUSE for macOS 3.6.0
* 从 [osxfuse/sshfs](https://github.com/osxfuse/sshfs/releases/) 下载安装 SSHFS 2.5.0
* 从 [SSHFS GUI Wrapper for Mac OS X](https://github.com/dstuecken/sshfs-gui) 下载 sshfs-gui 1.3.1

依次安装完成后，直接使用 SSHFS GUI图形界面就可以将远程ssh登录服务器上的目录挂载到本地目录上。

![SSHFS](/files/-M1TAO3lQ8rbZGgYhGM4)

开发环境共享目录设置在物理服务器上，分别通过虚拟机内部网段输出NFS和外部（物理）网段输出sshfs来实现文件交换：[NFS设置和共享目录](/cloud-atlas-draft/studio/nfs_and_share.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/studio/develop_remote_linux_on_mac.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
