Thread: ssh port 22 connection refused with Ubuntu 11.04
in 1 form or another,this question has been asked here , elsewhere many times haven't found of them solve problem. have 2 ubuntu computers running on lan. both running apache web servers , bazaar version control. need them able communicate 1 both http , ssh (and sftp). worked fine until upgraded 1 of machines 11.04.
ubuntu 9.04: host name arden
/etc/hosts
127.0.0.1 localhost
127.0.1.1 arden
192.168.1.103 natty (this correct ip address)
ubuntu 11.04: host name natty
/etc/hosts
127.0.0.1 localhost
127.0.1.1 natty
192.168.1.109 arden (this correct ip address)
ubuntu 11.04:
in browser http://arden , http://natty work expected
ssh arden works expected
ssh natty returns “connect host natty port 22: connection refused
ubuntu 9.04:
in browser http://arden works expected
http://natty , http://192.168.1.103 hangs , never connects.
ssh arden works expected
ssh -v natty returns:
connecting natty [192.168.1.103] port 22
, hangs until kill ctrl+c.
ping either machine other , works ok. missing?
make sure don't have firewall installed on natty, or if do, allows port 22. check port forwarding settings see if router still has ssh server listed @ 192.168.1.103.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] ssh port 22 connection refused with Ubuntu 11.04
Ubuntu
Comments
Post a Comment