On Mon, Sep 24, 2001 at 12:27:32PM -0500, Trevor Antczak wrote:
> Hello,
> 
> I just upgraded my home server from RH 6.1 to RH 7.1, and sshd has gone 
> nuts.  Here are the symptoms:
> 
> 1) If I try to connect to server gandalf from remote workstation I get a 
> request for password (correct), a "last login from" line (correct), and 
> an immediate "connection closed" message (incorrect).

Remove all traces of your ssh left over from RH6.1.
Reinstall the openssh rpms from the RH7.1 CD and it will work fine.
If it doesn't respond to an ssh connection, be sure ssh is enabled by
using the command

        ntsysv

save, then reboot or run

        service sshd start

Be sure your firewall does not block ssh...

> 
> 2) If I use telnet from remote workstation (Which means now I have to 
> change all my passwords... grrrr) I can log onto to gandalf (Obviously 
> this has nothing to do with ssh, just wait).  I can then use ssh to 
> connect back to remote workstation, and attempt to use ssh to connect to 
> server gandalf, and it works.  Basically, if there is an existing secure 
> connection between the two machine, I can make one back ( I have no 
> idead why this would be).
> 
> 3) /var/log/messages contains the following lines for failed connections:
> 
> Sep 24 09:55:17 gandalf PAM_pwdb[853]: (sshd) session opened for user 
> trevor by (uid=0)
> Sep 24 09:55:17 gandalf PAM_pwdb[853]: (sshd) session closed for user trevor
> Sep 24 09:56:06 gandalf sshd[858]: Accepted password for trevor from 
> 129.81.170.10 port 805 ssh2
> Sep 24 09:56:07 gandalf sshd[858]: error: socket: Address family not 
> supported by protocol
> 
> 
> SSHD worked fine before the upgrade.  I had installed it from source on 
> 6.1 so it was not in the rpm database (I'm not sure if this would 
> matter, but I thought I'd mention it).  The config file looks normal, 
> but I can post it that'd help.  Any ideas?

Yes, it matters you now have a siamese ssh - part from your compile,
and part from the RH7.1 openssh rpms.

Jan Carlson                                 janc at kubwa dot com



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to