I need to obtain data from a server, using my WSL (Ubuntu 20.04) and to do so I run the command
rsync -av -e "ssh -vvv -oPort=5822" 'address'
where 'address' is of course replaced with the actual address. Doing so results in the following error
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]
Searching for solutions online originally had me believe that firewall settings caused the issue. However, despite turning off my firewall on windows, and disabling UFW on my WSL, the issue remains.
Is there anything else I should try?
Let me know if you need more information on my setup
If despite turning off your firewall on Windows, and disabling UFW on your WSL, the issue remained, I suggest you install and set up a VPN.
Like, @ParsaMousavi mentioned in the comments above, you can first ping the address from your system, just to be sure you still aren't reaching the server before doing the above.
Hope this looks like an actual answer to your problem!
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments