Author Topic: ssh connection issues  (Read 276 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
ssh connection issues
« 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

Code: [Select]
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
Applications Developer | RHEL Linux Server Administrator

Offline
*****
Re: ssh connection issues
« Reply #1 on: May 29, 2021, 07:03:29 AM »
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.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: ssh connection issues
« Reply #2 on: May 29, 2021, 09:27:06 AM »
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
Applications Developer | RHEL Linux Server Administrator

Offline
*
Re: ssh connection issues
« Reply #3 on: May 29, 2021, 09:29:18 AM »
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.
Applications Developer | RHEL Linux Server Administrator

Offline
*****
Re: ssh connection issues
« Reply #4 on: June 01, 2021, 09:14:11 AM »
On both servers?
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: ssh connection issues
« Reply #5 on: June 02, 2021, 03:17:32 PM »
I fixed this. sshd errors
Applications Developer | RHEL Linux Server Administrator