SOLVED Transfer tool/SSH issue

molcomp

Member
Feb 28, 2013
15
0
1
cPanel Access Level
Root Administrator
Hello

I am trying to transfer migrate from old server 1 to a new server 2.

After getting an error in transfer tool I decided to check the ssh connection from the command line. The ssh connection from Server 2 to Server 1 did not work with error: connection refused.

I tried resolving the issue but I am kind of stuck so I appreciate any point what could be the issue.
Some insights of the situation:
I can ssh to Server 1 and Server 2 from remote pc.
I can ssh from Server 1 to Server 2.
I can ssh from Server 2 to other servers.
I can ping each other servers.
On server 1 the ip address of Server 2 is entered in all white lists.
With firewall down the ssh still did not work.
/var/log/secure log on Server 1 has nothing regarding the Server 2.


Any idea what could be wrong ?

Thanks
Alex
 

molcomp

Member
Feb 28, 2013
15
0
1
cPanel Access Level
Root Administrator
Issue resolved. The custom ssh port was missing from allowed tcp outgoing ports however it left me wondering why it did not work when the firewall was disabled.

Alex
 

cPSamuelM

Technical Analyst Team Lead
Staff member
Nov 20, 2019
196
37
103
USA
cPanel Access Level
Root Administrator
Hello @molcomp

Thank you for contacting cPanel! I am glad to hear that you were able to resolve the issue by specifying the correct SSH port. I will go ahead and mark this thread as Solved.

Best regards