如何将 Atom 编辑器连接到远程服务器?

How to connect the Atom Editor with a remote server?

我试过在这里查看其他有类似问题的问题,但不幸的是我没能解决这个问题。

关于一些基本背景信息,我目前在实验室中使用 PC,并且该实验室在机构的某处有 GPU 服务器。我正在尝试将 Atom 编辑器连接到远程主机。我的电脑使用 Windows 10,远程服务器是 Ubuntu 16.04.

我看过 remote-atom guide but for some reason the "Start Server" option is not working. I've also tried to do what 所说的内容,但遗憾的是我没有 sudo 许可。

还有其他方法可以让我远程连接 Atom 吗?谢谢。

即使您在 sudo 服务器上没有任何 sudo 权限,您也可以使用 atom 轻松连接到远程 FTP。

在远程服务器上: - 创建一个 rsa 密钥 (ssh-keygen -t rsa) - 将 public 键添加到 .ssh/authorized_keys 文件 - 将私钥下载到您的本地桌面

在本地机器上 > 打开 Atom 编辑器: - 按 ctrl+space 打开 'ftp-remote-edit' - 如果服务器不存在则添加服务器

Atom editor: remote server configs

就这样,您可以连接和编辑文件了。

其他可行的选择是使用 VS 代码和 winScp。