ssh problem

Mario Cova mario-a-cova at ptinovacao.pt
Fri Nov 4 17:58:35 UTC 2005


Hi!

	I change hosts.allow file, but I get the same error when i try
ssh:
	ssh_exchange_identification: Connection closed by remote host

	Thanks
	:(
	mc

-----Original Message-----
From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of James
Bourne
Sent: sexta-feira, 4 de Novembro de 2005 17:48
To: redhat-sysadmin-list at redhat.com
Subject: Re: ssh problem

On Fri, 4 Nov 2005, Mario Cova wrote:

> Hi!
> 
>  
> 
>             I've connectivity to a RH AS 3.0 Linux Server (ping, ftp,
> http... works fine) but when I try to connect 
> 
> by ssh the connection failed: ssh_exchange_identification: Connection
> closed by remote host
> 
>             The problem is that i don't have phisically access to the
> server. I tried put a root cron file in
> 
> /var/spool/cron to make a reboot but didn't work.

FTP in as a user who has write access to /etc/hosts.allow.  Download
that
file and add to it:
sshd: ALL

the reupload it.  Remember to ADD the line to the file, not just replace
the
contents with that one line, otherwise you may lock yourself out
completely.

This is typically what you'll get if you have turned on tcpwrappers but
not
allowed the host you want to connect from.

Regards
James
> 
>  
> 
>             Someone have a solution?
> 
>  
> 
>             Regards
> 
>             mc
> 
> 

-- 
James Bourne                  | Email:            jbourne at hardrock.org

UNIX Systems Administration   | WWW:           http://www.hardrock.org
Custom UNIX Programming       | Linux:  The choice of a GNU generation
----------------------------------------------------------------------
 "All you need's an occasional kick in the philosophy." Frank Herbert  

--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list




More information about the redhat-sysadmin-list mailing list