I try to ssh
a remote server
from a cPanel
Terminal. The hosting provider company that provides the cPanel
claims that they don’t restrict ssh
connections from their hosts to remote servers. I connect successfully to that remote server
from my personal computer executing exactly the same command, but fails to connect from the cPanel
Terminal. This is the command and the result that I get:
user@iris [~]# ssh -vvv admin@***.***.***.131
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug2: resolving "***.***.***.131" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to ***.***.***.131 [***.***.***.131] port 22.
debug1: connect to address ***.***.***.131 port 22: Connection refused
ssh: connect to host ***.***.***.131 port 22: Connection refused
My personal computer is not part of the remote server
‘s network. The ssh
client throws the error without even asking me for the remote server
‘s password.
I need to ssh
the remote server
because I want to scheduler with cron
periodical transfer of files.
Do you have any idea what might be the problem that is blocking the tries for ssh
connection? Any help will be appreciated.