You try to connect from port 49237 which is not a priviliged port.

A priviliged port is one open by root which is located between 1024 and
2048.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jean
Richelle
Sent: Friday, July 06, 2001 12:06 PM
To: SSH list
Subject: rhosts authen problem with openSSH


Hello,

I already post a first question here.  Now I shall give the debug trace ...

The rhosts authentification is refused - I'm running under Mac OSX 
with openSSH.

On client: ssh -v localhost

OpenSSH_2.9p1, SSH protocols 1.5/2.0, OpenSSL 0x0090581f
debug1: Reading configuration data /Users/jean/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug1: Seeded RNG with 25 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid


/etc/ssh_config and ~/.ssh/config

Host *
    RHostsAuthentication yes
    RhostsRSAAuthentication yes
    RSAAuthentication yes
    Port 22


~/.rhosts

localhost
127.0.0.1

On server side (same machine):
/usr/sbin/sshd -d

debug1: Seeded RNG with 24 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: sshd version OpenSSH_2.9p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
socket: Protocol not supported
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from 127.0.0.1 port 49237
debug1: Client protocol version 2.0; client software version OpenSSH_2.9p1
debug1: match: OpenSSH_2.9p1 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_2.9p1
debug1: Rhosts Authentication disabled, originating port not trusted.
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: kex: server->client aes128-cbc hmac-md5 none


/etc/sshd_config

Port 22
HostKey /etc/ssh_host_key
HostKey /etc/ssh_host_rsa_key
HostKey /etc/ssh_host_dsa_key
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
IgnoreRhosts no
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes
SyslogFacility AUTH
LogLevel INFO
RHostsAuthentication yes
RhostsRSAAuthentication yes
HostbasedAuthentication yes
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords no
____________________________________________________________________________
_
Jean Richelle <[EMAIL PROTECTED]>
Service de Conformation des Macromol�cules Biologiques   Tel: +32 02 650
3587
et de Bioinformatique - Universit� libre de Bruxelles    FAX: +32 02 648
8954
av. F.D. Roosevelt 50 - CP160/16, B-1050 Bruxelles, Belgium
____________________________________________________________________________
_

Reply via email to