can't ssh into the box

×

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/steelsmi/public_html/includes/common.inc).
2 posts / 0 new
Last post
mafrica
can't ssh into the box

Hi,
 
I've got everything up and running on my mac,  however,  I can't seem to ssh into the box.  Using network-manager,
I port scanned  localhost,  and I did see 22022.  However,  when I port scan the box from another machine,   only port 80 shows up (webserver I installed).  I installed gufw and the firewall is off.
 
(I tried this from the box itself as well  "ssh -p 22022 localhost"
 
but get this:

Read from socket failed: Connection reset by peer
 
 
I tried sudo service ssh start (or restart)  and a few reboots.
 
Any ideas?
 
thank you!

jacob
re: ssh

If you're using dansguardian (or firehol) Tone suggested the following:
 
 
Came up against a problem when installing dansguardian, firehol automatically blocks the ssh server port and i couldn't access the box by ssh anymore. I loaded up the live cd again and edited the /etc/firehol/firehol.conf file and added:
server_ssh_ports="tcp/22022 tcp/22"
client_ssh_ports="any"
server ssh accept
interface eth0 lan0
server ssh accept