PDA

View Full Version : Linux SSH problem.



Jackster
27-02-11, 22:31
http://i991.photobucket.com/albums/af38/jackogara/SSH.jpg?t=1298845725

Last 3 days I can get on my Linux Dedi.


It just happend, Did not do anything to the server. No updates. Nothing....

The data center said they can get on.

Just no me :/

IDK what to do.

iGoD ReLeNtLeS
27-02-11, 23:11
hmm i had a similar problem with my vps, would connect, let me login and once successful login would immediately disconnect me. But if i logged in as root it was fine.

If i remember rightly i had to request the ssh to be re-installed on the server. Which they had a bit of a hissy fit over because its an "unmanaged platform"... how else is it mean to be done, me drive up to manchester? lol

Dukey
28-02-11, 00:08
Potentially a firewall thing?

Recent problem I've had is that Skype likes to port scan a lot, which my remote server's firewall doesn't like, so blocks me periodically! :(

DoubleTop
28-02-11, 08:55
Denyhosts has probably added the IP you are using, that's what it is normally.

To test that, connect from somewhere else, then create a DYNDNS address for you home, and add it to /etc/hosts.allow

DT.

Jackster
28-02-11, 09:34
Denyhosts has probably added the IP you are using, that's what it is normally.

To test that, connect from somewhere else, then create a DYNDNS address for you home, and add it to /etc/hosts.allow

DT.

My IP way in the deny.hosts file.

I have removed it so you think ill be okay when I get back home?

DoubleTop
28-02-11, 09:36
depends on your denyhosts settings, if you pickup the central updates your IP may have gone in there, so will be put back again on the next update :)

Jackster
28-02-11, 10:14
I have no clue of what you are talking about :)

Jackster
01-03-11, 09:42
Yer it baned me when I went on last night.

I had to use HotSpot Shield to get on.

mrnothersan
01-03-11, 17:49
Do you have an online control panel in which you can reboot your Dedi? Reboot if you can. If this doesn't solve the problem, contact your Dedicated Server company support

DoubleTop
01-03-11, 19:30
that won't solve it at all mrnothersan

it'll just reboot the server, the issue is that Jackster has at some point in time failed to login within three attempts from his IP address, the denyhosts daemon that puts the IP in hosts.deny

The way around if you have a static ip is to put your ip in hosts.allow, as that overrides it. On dynamic, use a dyndns type host service to your ip, and put that dns name in hosts.allow.

Jackster
01-03-11, 19:45
hosts.allow, as that overrides it.

ahhhhhhhhhhhhhhhhhhhhh



Did not know that.

DoubleTop
01-03-11, 19:47
Denyhosts has probably added the IP you are using, that's what it is normally.

To test that, connect from somewhere else, then create a DYNDNS address for you home, and add it to /etc/hosts.allow

DT.


ahhhhhhhhhhhhhhhhhhhhh



Did not know that.

<sighs>

Jackster
01-03-11, 19:56
Didn't work :(

Smifis
01-03-11, 22:06
Get a new ip adress, reboot your rooter 20 times or so.

Lorem-Ipsum
01-03-11, 22:47
Get a new ip adress, reboot your rooter 20 times or so.

Takes one reboot for me XD........ but my ISP is a PITA

Jackster
02-03-11, 10:17
I have a static IP.:thumb:

Smifis
03-03-11, 09:56
Well there's your issue :P

can you adjust the ban/deny list manually?

Jackster
03-03-11, 11:31
Yer I can edit them, But after 5 mins they revert back to baning me.

DoubleTop
03-03-11, 12:00
so edit the denyhosts settings .... in the conf file iirc there is a trust this ip address type setting

Jackster
10-03-11, 22:29
Now it's blocking me from getting on the web sites it hosts :mad: