有时我需要创建服务器网络 - 链接服务器并快速复制数据。
我正在使用该SSH 文件系统 (SSHFS),因为它简单易用,就像连接Secure Shell (SSH) 一样。
出于更好的安全原因,我使用身份验证文件而不是密码。另一个原因是“ Amazon Web Services (AWS) EC2 ”的默认设置。
有时我不知道连接问题出在哪里
sshfs {{user_name}}@{{server_ip}}:{{remote_path}} {{local_path}} -o "IdentityFile={{identity_path}}"
Run Code Online (Sandbox Code Playgroud)
我在客户端只收到简单的消息
read: Connection reset by peer
Run Code Online (Sandbox Code Playgroud)
和服务器上的简单消息
"Connection reset by peer"
Run Code Online (Sandbox Code Playgroud)
问我接下来可以做什么?