SSH Problem

This is a discussion on SSH Problem within the Linux Networking forums, part of the Linux Forums category; I have server in remote place and wanted to connect to that server (Fedora Core 4)by ssh through internet. ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2006
Pavee
 
Posts: n/a
Default SSH Problem

I have server in remote place and wanted to connect to that server
(Fedora Core 4)by ssh through internet. I am able to ping that server
from my local system (Redhat Linux box) when i am trying to connect
through it is giving error "connection closed". I checked all firewalls
and iptables there is no restriction for the port to block. And one
more intresting I tried to login from the server system (fedora core 4)
to itself through ssh it is giving same error "connection closed" . So
please help me to overcome from this problem.

Thanking u all in advance.


Regards,
Praveen

Reply With Quote
  #2 (permalink)  
Old 06-23-2006
Johannes Beekhuizen
 
Posts: n/a
Default Re: SSH Problem

Hallo Pavee,

Op 23 Jun 06 schreef Pavee aan All:

Pa> from my local system (Redhat Linux box) when i am trying to connect
Pa> through it is giving error "connection closed". I checked all firewalls
Pa> and iptables there is no restriction for the port to block.

Have you looked into /etc/hosts.allow and /etc/hosts.deny?

Groetjes,

Hans.

jdh punt beekhuizen bij duinheks punt xs4all punt nl


Reply With Quote
  #3 (permalink)  
Old 06-24-2006
Mihai Osian
 
Posts: n/a
Default Re: SSH Problem

Pavee wrote:
> I have server in remote place and wanted to connect to that server
> (Fedora Core 4)by ssh through internet. I am able to ping that server
> from my local system (Redhat Linux box) when i am trying to connect
> through it is giving error "connection closed". I checked all firewalls
> and iptables there is no restriction for the port to block. And one
> more intresting I tried to login from the server system (fedora core 4)
> to itself through ssh it is giving same error "connection closed" . So
> please help me to overcome from this problem.
>
> Thanking u all in advance.
>
>
> Regards,
> Praveen
>


I had a very similar problem not long ago. It turned out to be a
dying hard disk. It might be possible that the ssh daemon wants to write
something in the logs and fails, so it decides to close the connection.

Mihai
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:50 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0