Skip to main content

Posts

Showing posts from 2013

ssh: connect to host 192.168.1.101 port 22: Connection refused

SSH issue SSH not allow to login For this following Possible issue 1. One of the possibility is your firewall rules are blocking ssh connections Like Firewall On – Disable firwall or allow the SSH connection through the firewall 1. TO disable Linux Firewall #Service iptables stopOr2. Allow only SSH connection Allow only the incomming SSH connection to the linux box from anywhere#iptables –A INPUT –I eth0 –p tcp –dport 22 –j ACCEPT2. Another possibility is may be following #cd /root/.ssh#vi know_hostsNote- delete everything on that file#service sshd restart