6 Replies - 5996 Views - Last Post: 13 December 2011 - 12:18 AM

#1 OwlingSounds  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 14-September 11

can't ssh into server

Posted 08 December 2011 - 02:18 PM

I'm getting the error message "can't connect to host at [ip address] on port 22 connection refused"

Any ideas what this could be? I feel like a bit of a n00b because I've only just had it set up
Is This A Good Question/Topic? 0
  • +

Replies To: can't ssh into server

#2 DimitriV  Icon User is offline

  • They don't think it be like it is, but it do
  • member icon

Reputation: 584
  • View blog
  • Posts: 2,738
  • Joined: 24-July 11

Re: can't ssh into server

Posted 08 December 2011 - 06:18 PM

When I connect to my server I use port 21 - also, if it is a server hosted by a major company try looking if they have any help files available - good sites should.
Was This Post Helpful? 1
  • +
  • -

#3 OwlingSounds  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 14-September 11

Re: can't ssh into server

Posted 09 December 2011 - 04:32 AM

View PostjimmyBo, on 08 December 2011 - 06:18 PM, said:

When I connect to my server I use port 21 - also, if it is a server hosted by a major company try looking if they have any help files available - good sites should.


But the ssh config files, and the output of iptables are all as they should be, it isn't a firewall blocking my connection. Any ideas for troubleshooting? is there a way to reset the ssh_config file?
Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6107
  • View blog
  • Posts: 23,659
  • Joined: 23-August 08

Re: can't ssh into server

Posted 09 December 2011 - 10:57 AM

Are you sure sshd is running?
Was This Post Helpful? 1
  • +
  • -

#5 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5388
  • View blog
  • Posts: 27,384
  • Joined: 10-May 07

Re: can't ssh into server

Posted 11 December 2011 - 11:35 PM

Two question :

1.) Have you ever been able to ssh to this server? Is the question that it is broken or that it needs setup?

2.) What Operating System is setup on the server?
Was This Post Helpful? 1
  • +
  • -

#6 OwlingSounds  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 14-September 11

Re: can't ssh into server

Posted 12 December 2011 - 12:51 AM

I've identified that the problem is that SSH is somehow damaged.. removing and re-installing didn't seem to help either. Just going to have a word with my host and get them to sort it I think. Thanks for the help :)
Was This Post Helpful? 0
  • +
  • -

#7 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon


Reputation: 1383
  • View blog
  • Posts: 3,514
  • Joined: 28-November 09

Re: can't ssh into server

Posted 13 December 2011 - 12:18 AM

You might also make sure that SSH isn't running on a strict setting and logs are always as great place to look for more information.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1