On Tue, 18 Jul 2000, S�bastien Mortier wrote:
> Hi SSH-users !
> 
> I've installed :
> - openssh-2.1.1p1-1mdk.sparc.rpm
> - openssh-clients-2.1.1p1-1mdk.sparc.rpm
> - openssh-server-2.1.1p1-mdk.sparc.rpm
> On a Sun Ultra1 with Mandrake 7.1b set in paranoid mode.
> 
> When I try to connect myself, I have the following message in debug mode
> :
> 
> ssh -l <user> localhost -v
> 
> SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
> Compiled with SSL (0x0090581f)
> debug: Reading configuration data /etc/ssh/ssh_config
> debug: Applying options for *
> debug: Seeding random number generator
> debug: ssh_connect: getuid 0 geteuid 0 anon 0
> debug: Connecting to localhost.localdomain [127.0.0.1] port 22.
> debug: Seeding random number generator
> debug: Allocated local port 1017
> debug: Connection established.
> ssh_exchange_identification: Connection closed by remote host
> debug: Calling cleanup 0x24f60(0x0)
> 
> Where's the trouble ?
> 
> ThanX by advance,
> Sebastien.

Hopefully you are not starting up sshd in your /etc/inetd.conf file.
If so (not safe), you are using using TCP wrappers (Mandrake default).
For this you need to add 
    sshd : ALL
in your /etc/hosts.allow file and make sure that /etc/hosts.deny is
not denying ALL access to ALL.  If you startup telnet or ftp in your
inetd.conf file for machines that you can't use ssh, then restrict
the /etc/hosts.allow file to only trusted IPs
ftp:       127.0.0.1 192.168.1. 100.100.100. eng.myschool.edu my-pc123.myschool.edu
telnet:    127.0.0.1 192.168.1. 100.100.100. eng.myschool.edu my-pc123.myschool.edu

HTH.
Thanks... Dan.

Reply via email to