Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ssh port 22 connection refused

I am getting an error

ssh: connect to host 10.5.6.206 port 22: Connection refused

when I am trying to login from a remote machine using LAN.It used to work fine earlier but changed since the selinux configuration was changed from enforcing to permissive.

output of ssh -v :

OpenSSH_5.6p1, OpenSSL 1.0.0j-fips 10 May 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 10.5.6.206 [10.5.6.206] port 22. debug1: connect to address 10.5.6.206 port 22: Connection refused ssh: connect to host 10.5.6.206 port 22: Connection refused

ssh port 22 connection refused

I am getting an error

ssh: connect to host 10.5.6.206 port 22: Connection refused

when I am trying to login from a remote machine using LAN.It used to work fine earlier but changed since the selinux configuration was changed from enforcing to permissive.

output of ssh -v :

  

OpenSSH_5.6p1, OpenSSL 1.0.0j-fips 10 May 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 10.5.6.206 [10.5.6.206] port 22. debug1: connect to address 10.5.6.206 port 22: Connection refused ssh: connect to host 10.5.6.206 port 22: Connection refused

refused

ssh port 22 connection refused

I am getting an error

ssh: connect to host 10.5.6.206 port 22: Connection refused

when I am trying to login from a remote machine using LAN.It used to work fine earlier but changed since the selinux configuration was changed from enforcing to permissive.

output of ssh -v :

 OpenSSH_5.6p1, OpenSSL 1.0.0j-fips 10
 May 2012 debug1: Reading configuration
 data /etc/ssh/ssh_config debug1:
 Applying options for * debug2:
 ssh_connect: needpriv 0 debug1:
 Connecting to 10.5.6.206 [10.5.6.206]
xx.x.x.xxx [xx.x.x.xxx]
 port 22. debug1: connect to address
 10.5.6.206 xx.x.x.xxx port 22: Connection refused ssh: connect to host 10.5.6.206 xx.x.x.xxx port
 22: Connection refused