Page 1 of 1

ssh confusion - port 22

Posted: Mon Aug 30, 2010 5:35 am
by jimmy9pints1
Hi, (sorry am I in the right forum category here?)

I would like to use SSH logins to administer my hda, but when I try to log in (within my network) I get this:

Code: Select all

$ ssh jimmy@192.168.1.11 ssh: connect to host 192.168.1.11 port 22: Connection refused
I have spent hours trying to sort this out, and these are some of the things i have done:
  • Checked that SSH-server is installed on the server - it is
  • Checked with netstat on the server to see if it's listening on 22 - it is
  • Checked the iptables on server to check if 22 is open - it is
  • Used nmap from client to scan 22 - it reports "22/tcp closed ssh"
  • Used the firewall utility on the Fedora desktop to close and open 22 - had no effect
  • Ran ssh 127.0.0.1 from the server itself - also reports "port 22: Connection refused"
If anybody can shed any light on this, I would appreciate it.

Jimmy

Re: ssh confusion - port 22

Posted: Mon Oct 25, 2010 2:22 pm
by cpg
Hi, did you ever solve this?

Amahi comes up with ssh enabled and running by default, and no firewall.

Hence ssh'ing to port 22 should "just work"!

Code: Select all

Used nmap from client to scan 22 - it reports "22/tcp closed ssh" Ran ssh 127.0.0.1 from the server itself - also reports "port 22: Connection refused"
the two above are serious indications of something being wrong.

Ssh is fundamentally working solidly since the very beginning of Amahi.

The only parameter that would explain all of the above is if the default port number for ssh had been change to *other* than 22.