ssh 1.2.26 + pam + shosts problem on RedHat 5.2

ssh 1.2.26 + pam + shosts problem on RedHat 5.2

Post by Georg Schwa » Sat, 22 May 1999 04:00:00



I'm running RedHat 5.2 with the ssh 1.2.26 rpm from ftp.replay.com. When I
log into the machine as root with the originating account being listed in
~root/.shosts (no .rhosts or /etc/hosts.equiv file exists) I get (verbose
output from the ssh client):

...
lorenz: Remote: Accepted by .shosts.
lorenz: Received RSA challenge for host key from server. lorenz: Sending
response to host key RSA challenge.
lorenz: Remote: Rhosts with RSA host authentication accepted.
lorenz: Rhosts or /etc/hosts.equiv with RSA host authentication accepted
by server.
lorenz: Requesting pty.
...

why does it talk of "Rhosts or /etc/hosts.equiv with RSA host
authentication accepted"? Is it PAM saying so?

when terminating the shell opened via ssh (or when the command started by
ssh terminates) the syslog on the destination machine (RH5.2) says:

May 21 14:12:32 poseidon sshd[2675]: log: Closing connection to
130.149.161.54
May 21 14:12:32 poseidon PAM_pwdb[2675]: 1 authentication failure; (uid=0)
-> root for ssh service

why that last line? It BTW causes output from a command executed by ssh to
be suppressed (but still that command gets executed on the target
machine). This also happens when the destination account is not root:

May 21 14:23:05 poseidon PAM_pwdb[2776]: 1 authentication failure; (uid=0)
-> schwarz for ssh service

It does however not occur when using password authentification.
What's at fault here? PAM maybe?
--

Institut fr Theoretische Physik  +49 30 314-24254   FAX -21130  IRC kuroi
Technische Universit?t Berlin            http://home.pages.de/~schwarz/

 
 
 

ssh 1.2.26 + pam + shosts problem on RedHat 5.2

Post by Scott Ellswor » Sat, 22 May 1999 04:00:00



...

Quote:>when terminating the shell opened via ssh (or when the command started by
>ssh terminates) the syslog on the destination machine (RH5.2) says:

>May 21 14:12:32 poseidon sshd[2675]: log: Closing connection to
>130.149.161.54
>May 21 14:12:32 poseidon PAM_pwdb[2675]: 1 authentication failure; (uid=0)
>-> root for ssh service

I am getting the same problem, and am mystified as well.

Scott
--

"When a great many people are unable to find work, unemployment
results" - Calvin Coolidge, attrib. by Stanley Walker, City Editor,
p. 131 (1934).  "You die, she dies, EVERYbody dies." - Heavy Metal

 
 
 

1. SSH 1.2.26 Install Problems on Redhat

When I try to make this file on Readhat 6.1 I get
the following message.  Any ideas what might be
wrong?  Thanks.

Kai
-----------------
login.c: In function `record_login':
login.c:437: structure has no member named
`ut_syslen'
login.c:441: structure has no member named
`e_termination'
login.c:442: structure has no member named
`e_exit'
login.c:454: `WTMPX_FILE' undeclared (first use
in this function)
login.c:454: (Each undeclared identifier is
reported only once
login.c:454: for each function it appears in.)
make: *** [login.o] Error 1
-------------------

Sent via Deja.com http://www.deja.com/
Before you buy.

2. PPP 2.2.0c - my experiences.

3. RedHat 6.0 and SSH 1.2.26 problem

4. Compile problems on KDE1.91: Error - no STL config found

5. ssh 1.2.26 on LinuxPPC

6. Matrox Millenium Drivers

7. dump over ssh 1.2.26 (SuSE 6.1, Linux version 2.2.5)

8. Running process as deamon

9. ssh 1.2.26 or 2.0.x

10. Compiling SSH 1.2.26

11. mod_define for apache 1.2.26 is included twice!?

12. ssh and redhat 5.2

13. RedHat 5.2 -> RedHat 6.0 Upgrade Problems