Control Web Panel
		WebPanel => CentOS 7 Problems => Topic started by: josephgodwinke on May 28, 2021, 09:27:22 PM
		
			
			- 
				
I try to connect to another server and copy files with rsync but I get this error
ssh: connect to host 123.45.67.89 port 2211: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2]
ssh port is correct
			 
			
			- 
				Are you able to connect via SSH with the data? Probably your server has blocked TCP OUT to port 2211
Try to open the port in /etc/csf/csf.conf => TCP_OUT or try to disabvle firewall and test.
			 
			
			- 
				Temporary workaround was tunneling ports and agent forwarding. Connected to the remote server for rsync and scp then after I was done I reverted the backup /etc/ssh/sshd_config
			
 
			
			- 
				
Are you able to connect via SSH with the data? Probably your server has blocked TCP OUT to port 2211
Try to open the port in /etc/csf/csf.conf => TCP_OUT or try to disabvle firewall and test.
Firewall accepts TCP inbound/outbound connections from port 2211. 
			 
			
			- 
				On both servers?
			
 
			
			- 
				I fixed this. sshd errors