openssh-1.2.2p1

openssh-1.2.2p1

Post by Bob Lock » Thu, 23 Mar 2000 04:00:00



I'm still having problems connecting to openssh (this time openssh-1.2.2p1).

I compiled it with:
/configure --prefix=/d2/usr2/local/openssh-1.2.2p1 --with-tcp-wrappers
--with-md5-passwords --with-ssl-dir=/d2/usr2/local/openssl-0.9.5

I tried with and without the option "--with-md5-passwords" (I'm not sure what
RedHat 6.1 needs).

The command:
ssh -l someuser -v localhost

gives in /var/log/messages

Mar 22 01:36:57 localhost sshd[13272]: Server listening on 0.0.0.0 port 22.
Mar 22 01:36:57 localhost sshd[13272]: Generating 768 bit RSA key.
Mar 22 01:36:59 localhost sshd[13272]: RSA key generation complete.
Mar 22 01:37:39 localhost sshd[13279]: warning: /etc/hosts.allow, line 6: host
name/address mismatch: 127.0.0.1 != somehost
Mar 22 01:37:44 localhost sshd[13279]: Failed password for someuser from
127.0.0.1 port 770
Mar 22 01:37:49 localhost last message repeated 2 times
Mar 22 01:37:49 localhost sshd[13279]: Connection closed by 127.0.0.1
Mar 22 01:37:49 localhost sshd[13279]: Cannot close PAM session: System error
Mar 22 01:37:49 localhost sshd[13279]: Cannot delete credentials:
Authentication service cannot retrieve user credentials

 
 
 

openssh-1.2.2p1

Post by Nobod » Fri, 24 Mar 2000 04:00:00


I may not have the right answer, just that when I tried openssl 1.2.2 on
RH 6.1, it builds OK and do the same thing like yours until I realise
that I need:

/etc/pam.d/sshd:

#%PAM-1.0
auth       required     /lib/security/pam_pwdb.so shadow nodelay
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_cracklib.so
password   required     /lib/security/pam_pwdb.so shadow nullok use_authtok
session    required     /lib/security/pam_pwdb.so
session    required     /lib/security/pam_limits.so

Yes, I know, always read all available documentations..

Hope this helps.


Quote:

> I'm still having problems connecting to openssh (this time openssh-1.2.2p1).

> I compiled it with:
> /configure --prefix=/d2/usr2/local/openssh-1.2.2p1 --with-tcp-wrappers
> --with-md5-passwords --with-ssl-dir=/d2/usr2/local/openssl-0.9.5

> I tried with and without the option "--with-md5-passwords" (I'm not sure what
> RedHat 6.1 needs).

> The command:
> ssh -l someuser -v localhost

> gives in /var/log/messages

> Mar 22 01:36:57 localhost sshd[13272]: Server listening on 0.0.0.0 port 22.
> Mar 22 01:36:57 localhost sshd[13272]: Generating 768 bit RSA key.
> Mar 22 01:36:59 localhost sshd[13272]: RSA key generation complete.
> Mar 22 01:37:39 localhost sshd[13279]: warning: /etc/hosts.allow, line 6: host
> name/address mismatch: 127.0.0.1 != somehost
> Mar 22 01:37:44 localhost sshd[13279]: Failed password for someuser from
> 127.0.0.1 port 770
> Mar 22 01:37:49 localhost last message repeated 2 times
> Mar 22 01:37:49 localhost sshd[13279]: Connection closed by 127.0.0.1
> Mar 22 01:37:49 localhost sshd[13279]: Cannot close PAM session: System error
> Mar 22 01:37:49 localhost sshd[13279]: Cannot delete credentials:
> Authentication service cannot retrieve user credentials


 
 
 

openssh-1.2.2p1

Post by Bill Unr » Sat, 25 Mar 2000 04:00:00



]I'm still having problems connecting to openssh (this time openssh-1.2.2p1).

]I compiled it with:
]/configure --prefix=/d2/usr2/local/openssh-1.2.2p1 --with-tcp-wrappers
]--with-md5-passwords --with-ssl-dir=/d2/usr2/local/openssl-0.9.5

]I tried with and without the option "--with-md5-passwords" (I'm not sure what
]RedHat 6.1 needs).

]The command:
]ssh -l someuser -v localhost

]gives in /var/log/messages

]Mar 22 01:36:57 localhost sshd[13272]: Server listening on 0.0.0.0 port 22.
]Mar 22 01:36:57 localhost sshd[13272]: Generating 768 bit RSA key.
]Mar 22 01:36:59 localhost sshd[13272]: RSA key generation complete.
]Mar 22 01:37:39 localhost sshd[13279]: warning: /etc/hosts.allow, line 6: host
]name/address mismatch: 127.0.0.1 != somehost

The place to look is in /etc/hosts.allow and /etc/hosts. You need a line
line
127.0.0.1  localhost
in /etc/hosts

]Mar 22 01:37:44 localhost sshd[13279]: Failed password for someuser from
]127.0.0.1 port 770
]Mar 22 01:37:49 localhost last message repeated 2 times
]Mar 22 01:37:49 localhost sshd[13279]: Connection closed by 127.0.0.1
]Mar 22 01:37:49 localhost sshd[13279]: Cannot close PAM session: System error
]Mar 22 01:37:49 localhost sshd[13279]: Cannot delete credentials:
]Authentication service cannot retrieve user credentials

 
 
 

1. Installing OpenSSH-3.0.2p1 - Socklen_t ERROR

I'm trying to install OpenSSH on Redhat6.2 at work here. Actually,
it's a re-installation from last year. I'm not exactly sure who set it
up before me. Looks like openSSL and zlib is already installed which
is good. I'm configuring OpenSSH with --PAM and -TCP wrapper support.

% ./configure --with-pam --with-tcp-wrappers

I get the following error message at the end of the configuration log:

checking for socklen_t... no
checking for socklen_t equivalent... configure: error: Cannot find a
type to use in place of socklen_t

I then try:

% make

make:***no-targets. Stop.

Does anyone know what the problem is? I checked for socklen.h file and
it is there. So not sure what the problem is.

Appreciate anyones help.

2. <<WARNING>> Another Xconfig request

3. openssh-3.0.2p1-1 and RedHat 7.1 and RPM hell

4. exec doesn't clear %y - bug?

5. Upgrade OpenSSH 2.9p2 to OpenSSH-4.2p1 on Solaris 8 for SPARC

6. PCMCIA woes

7. Problem with Openssh 4.2p1; libcrypto.so.0.9.8: Permission denied

8. setup linux gateway for win2k network

9. Problems compiling OpenSSH 3.0.2p1 on OpenBSD 3.0 i386

10. OpenSSH 3.0.2p1 binary pkg for Solaris

11. OpenSSH 3.0.2p1 configuration question

12. openssh-1.2.3 on AIX

13. Xview-3.2p1 for X11R6