Unblock Outgoing SSH Connection
Posted: 08 Oct 2018, 17:07
Hi
I want to make a ssh connection from a VPS (centos 7 & CSF)
But it seems that csf is blocking the ssh port (not 22)
ssh user@xxx.xxx.xxx.xxx -p nnn -vvv
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 "xxx.xxx.xxx.xxx" port nnn
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port nnn.
debug1: connect to address xxx.xxx.xxx.xxx port nnn: Connection refused
ssh: connect to host xxx.xxx.xxx.xxx port nnn: Connection refused
SSH connection works after disabling csf with (csf -x) which is not what I desire.
How can I fix this problem?
How can I
I want to make a ssh connection from a VPS (centos 7 & CSF)
But it seems that csf is blocking the ssh port (not 22)
ssh user@xxx.xxx.xxx.xxx -p nnn -vvv
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 "xxx.xxx.xxx.xxx" port nnn
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port nnn.
debug1: connect to address xxx.xxx.xxx.xxx port nnn: Connection refused
ssh: connect to host xxx.xxx.xxx.xxx port nnn: Connection refused
SSH connection works after disabling csf with (csf -x) which is not what I desire.
How can I fix this problem?
How can I