ssh problem
James Bourne
jbourne at hardrock.org
Fri Nov 4 17:48:29 UTC 2005
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
More information about the redhat-sysadmin-list
mailing list