我需要使用我的WSL (Ubuntu20.04)从服务器获取数据,并运行命令
rsync -av -e "ssh -vvv -oPort=5822" 'address'当然,“地址”被替换为实际地址。这样做会导致以下错误
OpenSSH_8.2p1 Ubuntu-4, OpenSSL 1.1.1f 31 Mar 2020
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolving 'adress' port 5822
debug2: ssh_connect_direct
debug1: Connecting to 'address' ['ip'] port 5822.
debug1: connect to address 'ip' port 5822: Resource temporarily unavailable
ssh: connect to host 'adress' port 5822: Resource temporarily unavailable
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(235) [Receiver=3.1.3]在网上搜索解决方案时,我原以为是防火墙设置引起了这个问题。然而,尽管关闭了我的防火墙在窗口,并禁用UFW在我的WSL,问题仍然存在。
还有什么我该试试的吗?
如果你需要更多关于我设置的信息,请告诉我。
发布于 2020-06-11 18:42:49
如果尽管关闭了Windows上的防火墙,禁用了WSL上的UFW,问题仍然存在,我建议您安装并设置一个VPN。
就像上面的注释中提到的@ParsaMousavi一样,您可以首先从您的系统中ping地址,以确保在执行上述操作之前仍然没有到达服务器。
希望这看起来像一个真正的答案,你的问题!
发布于 2021-03-20 23:57:02
再次检查您的地址是否正确地从您的域注册员设置到您的框.我有这个完全相同的错误,并一直忽略我的地址(在登记员级别)是不一致的。
https://askubuntu.com/questions/1249334
复制相似问题