I am able to ping my friend but not able to do ssh. Why so? He is using a modem. I thought there might be some firewall enabled. I told him to type
He did that, but still I am not able to do ssh on his system. How can I do this?
I get the error:
ssh: connect to host 18.104.22.168 port 22: Connection refused
RESULT OF ifconfig on his system
inet addr:127.0.0.1 Mask:255.0.0.0 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
He told me his dynamic ip by using whatismyip.com
I tried ssh on that ip.
PS: sshd service is running on his system.
I tried nmap and came to know that port 22 is not opened.