ssh confusion - port 22

jimmy9pints1
Posts: 15
Joined: Tue Dec 30, 2008 5:57 am

ssh confusion - port 22

Postby jimmy9pints1 » Mon Aug 30, 2010 5:35 am

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

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: ssh confusion - port 22

Postby cpg » Mon Oct 25, 2010 2:22 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 25 guests