Sublime Text SFTP未连接到Ubuntu EC2实例

发布于 2025-02-12 08:29:57 字数 1565 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

恬淡成诗 2025-02-19 08:29:57

所以我已经弄清楚该怎么办。
而不是使用私钥连接到服务器。最好使用OpenSSH服务器和SSH。
这对我有用,比使用私钥要好得多。
您可以看到以下教程,使用SFTP安装并连接到服务器。

教程

我应该提及的一些事情

  1. 仅使用端口22。没有其他港口对我有用。
  2. 使用您的实例公共IP和用户名登录为:sftp_user。
  3. 使用config-sftp.json的远程路径为'/data/'。

有关更多帮助,您可以随时回复此评论。

So I have figured out what to do.
Instead of using a private key to connect to the server. It is better to use openSSH server and SSH.
This worked for me and it is way more better than using a private key.
You can see the following tutorial to install and connect to the server using SFTP.

The Tutorial

Some things I should mention are:

  1. Use port 22 only. No other port worked for me.
  2. Login using your instance Public IP and username as: sftp_user.
  3. Use the remote path for config-sftp.json as '/data/'.

For more help you can always reply to this comment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文