Franki,
this might sound like a stupid question, but i've found in the past i've
had to ask myself the same question. are you "sure" the package
openssh-server is installed? I've had the same situation a few times and
almost each time when I "thought" that the server installed it was only
the openssh-client that got installed. Which would give exactly the same
error that you're recieving now.
Also, you will want to check your /etc/hosts.deny file to make sure that
you don't have a line in there that looks like this:
ALL:ALL EXCEPT localhost:DENY
If that line is present then comment it out and you may find that
connection is then possible.
Mark
On Thu, 10 May 2001, Franki wrote:
> what are your security levels set at? do the other inetd or xinetd services
> run? like pop3 or telnet,,,,
>
> what ports do you see if you portscan the box?
>
> do you have a firewall running and if so have you blocked the ftp and ssh
> ports???
>
> you need to find out what is closing the connection,,, and since both ftp
> and ssh are affected, whats in your hosts.allow and hosts.deny?
>
> not much you can make suggestion wise without seeing the server, so I just
> ask questions... :-)
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Amy Eslinger
> Sent: Thursday, 10 May 2001 3:08 AM
> To: [EMAIL PROTECTED]
> Subject: [newbie] mandrake 7.2 and FTP
>
>
> I ran a custom server install on Mandrake 7.2. I am unable to ftp to it or
> access the server using a secure shell.
>
> The sshd and inetd is running. The configuration files look accurate. The
> ports are open.
> When I attempt to ssh, I receive the error, "connection closed by foreign
> host."
>
> If anyone has any insight, I'd be grateful!! Thanks, Amy
>
>
>